Hi, I have deployed a webservice in Servicemix using http+jsr181 components. The service assembly is successfully deployed and I can see the wsdl endpoints.
Now I'm trying to test the webservice with the client.html integrated in wsdl-first example. I modify the target ( http://localhost:8080/GruposTrabajoWS/AuthenticationService/ ) and the soap request: <?xml version="1.0" encoding="UTF-8"?> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tns="http://webservices.intecna.es/"> <env:Body> <tns:getTicket> <tns:username>myuser</tns:username> <tns:password>mypass</tns:password> </tns:getTicket> </env:Body> </env:Envelope> And when I click on send button, i get the following soap response: STATUS: 200 <?xml version='1.0' encoding='UTF-8'?><env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><getTicketResponse xmlns="http://webservices.intecna.es/"><out>eintegra-2-PfJEtEpHJtZDP9Tqlqa3OJRWOZ4tLw5SePk</out></getTicketResponse></env:Body></env:Envelope> It seems that the ws generates the ticket ok, but i don't understand why the ticket response is under an <out> </out> tag, whereas in the xml schema is defined with the "return" name: <definitions targetNamespace="http://webservices.intecna.es/"> − <types> − <xs:schema targetNamespace="http://webservices.intecna.es/" version="1.0"> <xs:element name="getTicket" type="tns:getTicket"/> <xs:element name="getTicketResponse" type="tns:getTicketResponse"/> − <xs:complexType name="getTicket"> − <xs:sequence> <xs:element minOccurs="0" name="username" type="xs:string"/> <xs:element minOccurs="0" name="password" type="xs:string"/> </xs:sequence> </xs:complexType> − <xs:complexType name="getTicketResponse"> − <xs:sequence> <xs:element minOccurs="0" name="return" type="xs:string"/> </xs:sequence> </xs:complexType> ............. In the invocation proccess I get the next message in Servicemix console: INFO - AegisBindingProvider - xsi:type="" was specified, but no corresponding Type was registered; defaulting to {http://www.w3.org/2001/XMLSchema}string INFO - AegisBindingProvider - xsi:type="" was specified, but no corresponding Type was registered; defaulting to {http://www.w3.org/2001/XMLSchema}string -- View this message in context: http://www.nabble.com/Invalid-soap-response--tf3355063s12049.html#a9330773 Sent from the ServiceMix - User mailing list archive at Nabble.com.
