Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

wsdl with xmlSignature

 
Rafa Barcel� Bauz�
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends!!!

I have defined a web service using an wsdl file. Then I have generated de web service based on this wsdl file.Everything ok.

The problem starts now. I need to incorporate XmlSignature tech. in this wsdl.

AnyBody has done this anytime?

I tried this several things, but still I cant generate the web service.
1-> put this uri in the wsdl efinitions
http://schemas.xmlsoap.org/soap/security/2000-12

2-> put this schema in the wsdl:types
<schema xmlns="http://www.w3.org/1999/XMLSchema"
xmlns:SOAP-SEC="http://schemas.xmlsoap.org/soap/security/2000-12"
targetNamespace="http://schemas.xmlsoap.org/soap/security/2000-12" xmlns s="http://www.w3.org/2000/09/xmldsig#"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">

<import namespace="http://www.w3.org/2000/09/xmldsig#"/>
<import namespace="http://schemas.xmlsoap.org/soap/envelope/"/>
<element name="Signature" final="restriction">
<complexType>
<sequence>
<element ref="ds:Signature" minOccurs="1" maxOccurs="1"/>
</sequence>
<attribute name="id" type="ID" use="optional"/>
<attribute ref="SOAP-ENV:actor" use="optional"/>
<attribute ref="SOAP-ENV:mustUnderstand" use="optional"/>
</complexType>
</element>
<attribute name="id" type="ID"/>
</schema>

Any idea??? I'm quite lost....
Thanks and sorry for my (still) ugly english!!!
 
Rafa Barcel� Bauz�
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I forget to say that I'm using Axis 1.4.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic