jbossws and visual basic 6 soapsdk3.0, namespaces. JAXRPCException: Cannot find child element: String_1
hi, i'm using the soapsdk webservices tool for visual 6, trying to consume a webservice described with jbossws. this WS is also tested by a junit module, so it is working. when the packages are scaning in the network to see the soap message i get this. from my visual b. client | | POST /eset/EsetContribuyenteWS HTTP/1.1 | | SOAPAction: "" | | Content-Type: text/xml; charset="UTF-8" | | User-Agent: SOAP Toolkit 3.0 | | Host: rdelcanto:8080 | | Content-Length: 1420 | | Connection: Keep-Alive | | Cache-Control: no-cache | | Pragma: no-cache | | | | | <?xml version="1.0" encoding="UTF-8" standalone="no"?> | <SOAP-ENV:Envelope xmlns:SOAPSDK1="http://www.w3.org/2001/XMLSchema" | xmlns:SOAPSDK2="http://www.w3.org/2001/XMLSchema-instance" | xmlns:SOAPSDK3="http://schemas.xmlsoap.org/soap/encoding/" | xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> | <SOAP-ENV:Body> | <SOAPSDK4:save | xmlns:SOAPSDK4="http://localhost/eset/py/ServiceWS"> | | | <SOAPSDK4:name>SFOB936890A</SOAPSDK4:name> | | <SOAPSDK4:key>33</SOAPSDK4:key> | <SOAPSDK4:xml> | | (a valid xml) | | | </SOAPSDK4:xml> | <SOAPSDK4:nroHash>8a250892</SOAPSDK4:nroHash></SOAPSDK4:save></SOAP-ENV:Body> | </SOAP-ENV:Envelope> | HTTP/1.1 500 Internal Server Error | | Server: Apache-Coyote/1.1 | | X-Powered-By: Servlet 2.4; JBoss-4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)/Tomcat-5.5 | | Set-Cookie: JSESSIONID=4941408F2755F3533A7050AD12C7B2C8; Path=/ | | Content-Type: text/xml;charset=UTF-8 | | Transfer-Encoding: chunked | | Date: Mon, 23 Oct 2006 22:33:51 GMT | | Connection: close | | | | 51 | | <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:Header/> | | | 2a | | <env:Body><env:Fault><faultcode>env:Client | | | c | | </faultcode> | | | 2f | | <faultstring>Cannot find child element: name | | | e | | </faultstring> | | | c | | </env:Fault> | | | b | | </env:Body> | | | f | | </env:Envelope> | | | 0 | | | | i think the problem is in the SOAPSDK4 namespace.. because without that name everything works fine, the thing is that i can't remove tha namespace becaus is generated by the soapsdk program from our friend Bill. my wsdl | | | <definitions name="ServiceWS" targetNamespace="http://localhost/eset/py/ServiceWS"> | <types/> | ? | <message name="ServiceWSEndPoint_save"> | <part name="name" type="xsd:string"/> | <part name="key" type="xsd:string"/> | <part name="xml" type="xsd:string"/> | <part name="nroHash" type="xsd:string"/> | </message> | ? | <message name="ServiceWSEndPoint_guardarDDJJResponse"> | <part name="result" type="xsd:string"/> | </message> | ? | <portType name="ServiceWSEndPoint"> | ? | <operation name="guardarDDJJ" parameterOrder="Usuario Clave xmlDDJJ nroHash"> | <input message="tns:ServiceWSEndPoint_save"/> | <output message="tns:ServiceWSEndPoint_saveResponse"/> | </operation> | </portType> | ? | <binding name="ServiceWSEndPointBinding" type="tns:ServiceWSEndPoint"> | <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> | ? | <operation name="save"> | <soap:operation soapAction=""/> | ? | <input> | <soap:body namespace="http://localhost/eset/py/ServiceWS" use="literal"/> | </input> | ? | <output> | <soap:body namespace="http://localhost/eset/py/ServiceWS" use="literal"/> | </output> | </operation> | </binding> | ? | <service name="ServiceWS"> | ? | <port binding="tns:ServiceWSEndPointBinding" name="ServiceWSEndPointPort"> | <soap:address location="http://delkant:8080/eset/ServiceWS"/> | </port> | </service> | </definitions> | | so, the cuestion is, how i can solve this?. i dont want to use visual but i have to. will we have a version of jbossws with a support for this feauture? thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980411#3980411 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980411 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
