This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Services and the fly likes wsdl with xmlSignature Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "wsdl with xmlSignature" Watch "wsdl with xmlSignature" New topic
Author

wsdl with xmlSignature

Rafa Barcel� Bauz�
Greenhorn

Joined: Aug 09, 2006
Posts: 22
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

Joined: Aug 09, 2006
Posts: 22
I forget to say that I'm using Axis 1.4.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: wsdl with xmlSignature
 
Similar Threads
string[] definiton error in xsd file generated with WSAD
Problem with arrays of primitive types
Problem with WSDL publishing
Error related to SOAP
XSD Schema Error in WSAD