On Wed, 22 Oct 2008 13:42:01 -0400 Daniel Kulp <[EMAIL PROTECTED]> wrote:
> > Quick questions: > > 1) What version of CXF? Was using 2.1.2 and now I tried with 2.1.3 with the same result.. > > 2) What version of the XmlSchema jar? 1.4.2 > > 3) Can you include the wsdl generated from that interface as well? Attached... > > Jarek found a very similar error while integrating CXF 2.1.x into Geronimo. > It turned out it was due to picking up XmlSchema 1.3.3 instead of 1.4.2. > Once he managed to get maven to pick up the 1.4.2 version, it all worked > fine. > > Dan > > > On Wednesday 22 October 2008 3:08:03 am Bjørn T Johansen wrote: > > I am trying to develop some web services using Java and CXF and the > > clients that are going to use these are written in .Net. > > But I am having a problem... When I add SOAP headers like this..: > > > > LogonServiceResponse logon(@WebParam(name = "userId") String userId, > > @WebParam(name = "password") String password, @WebParam(name = > > "soap_username", header = true, mode = WebParam.Mode.IN) String > > soap_username, @WebParam(name = "soap_password", header = true, mode = > > WebParam.Mode.IN) String soap_password); > > > > > > (i.e the two last arguments), I get the following error from Visual > > Studio when trying to add the web reference..: > > > > Custom tool error: Unable to import WebService/Schema. Unable to > > import binding 'serviceSoapBinding' from namespace > > 'http://webservices.domainservice.as.asp.no/'. Unable to import > > operation 'logonService'. Part 'soap_username' from message > > 'logonService' in namespace > > 'http://webservices.domainservice.as.asp.no/' is missing the element > > attribute. The element attribute is required for headers when > > Use=Literal. > > > > > > Can someone help me, this is my first try to make web services.... > > > > > > > > Regards, > > > > BTJ > > >
wsdl.xml
Description: XML document
