You have not declared a namespace for your targetNamespace, so your references to elements defined in your WSDL aren't valid.
Add the following namespace declaration to your <definitions> element: xmlns:abcde="abcde" Anne -----Original Message----- From: cagerhon [mailto:[EMAIL PROTECTED] Sent: Monday, April 26, 2004 2:27 AM To: [EMAIL PROTECTED] Subject: Have doubts about Doc/Lit with axis 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>