Everything you have looks good to me - in terms of valid WSDL and conforming SOAP request message. I wonder: what do you get when you replay the "xsd:anyURI" type with xsd:string? I don't think it should make a difference but...everything else looks so generic I'm at a loss to suggest anything else!
Good luck, Jim Murphy Mindreef, Inc. cagerhon wrote: > Dear All, > > I have some problems with axis 1.2 beta sending Doc/Lit messages. > > I am using the wsdl below to generate client stub and produce messages to send > to server, > but axis seems not able to find the correct method to invoke or may > get null value in the parameter of "cccOp" method of "APortTypeSOAPBindingImpl" > class. > > the message on the wire looks like this: > <?xml version="1.0" encoding="UTF-8"?> > <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > <soapenv:Body> > <ccc xmlns="abcde"> > <add>http://ibm.com.tw/test/me</add> > </ccc> > </soapenv:Body> > </soapenv:Envelope> > > does any one know how to do the right Doc/Lit programming with axis 1.2 beta? > or is there anything wrong with my way? > Any asnwer will be very appriciated. > > Thanks in advance. > > > Sincerely, > Hong > > > Ps. below is the wsdl I am using. > > <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" > xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" name="" > xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="abcde"> > > <wsdl:types> > <xsd:schema targetNamespace="abcde" > xmlns:xsd="http://www.w3.org/2001/XMLSchema"> > > <xsd:complexType name="aType"> > <xsd:sequence> > <xsd:element name="add" type="xsd:anyURI"/> > </xsd:sequence> > </xsd:complexType> > <xsd:element name="ccc" type="abcde:aType"/> > > </xsd:schema> > </wsdl:types> > > <wsdl:message name="ccc"> > <wsdl:part name="parameters" element="abcde:ccc"/> > </wsdl:message> > > <wsdl:portType name="APortType"> > <wsdl:operation name="cccOp"> > <wsdl:input name="ccc" message="abcde:ccc"/> > </wsdl:operation> > </wsdl:portType> > > <wsdl:binding name="APortTypeSOAPBindingImpl" type="abcde:APortType"> > <wsdlsoap:binding style="document" > transport="http://schemas.xmlsoap.org/soap/http"/> > <wsdl:operation name="cccOp"> > <wsdlsoap:operation soapAction=""/> > <wsdl:input> > <wsdlsoap:body use="literal"/> > </wsdl:input> > </wsdl:operation> > </wsdl:binding> > > <wsdl:service name="AService"> > <wsdl:port binding="abcde:APortTypeSOAPBindingImpl" name="A"> > <wsdlsoap:address location=http://localhost:8080/my/services/A/> > </wsdl:port> > </wsdl:service> > </wsdl:definitions> > >