• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

wsdl with xmlSignature

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I forget to say that I'm using Axis 1.4.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic