Hi, I have a problem consuming a web service deployed in Jboss 4.2.0.GA, the same package work fine using Jboss 4.0.5.GA. Here is the wsdl, code with annotations and Soap messages.
Thanks in advance. Luis. wsdl | ***** UniversalManagement?wsdl | | - <definitions name="UniversalManagementEndPointService" targetNamespace="http://universal.ws.core.mobistore.services.com/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://jaws.universal.ws.core.mobistore.services.com/" xmlns:ns2="http://jaxb.dev.java.net/array" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://universal.ws.core.mobistore.services.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | <import location="http://10.200.200.25:8080/mobistore-ws-universal/UniversalManagement?wsdl&resource=UniversalManagementSei_PortType61107.wsdl" namespace="http://jaws.universal.ws.core.mobistore.services.com/" /> | - <service name="UniversalManagementEndPointService"> | - <port binding="ns1:UniversalManagementSeiBinding" name="UniversalManagementEndPointPort"> | <soap:address location="http://10.200.200.25:8080/mobistore-ws-universal/UniversalManagement" /> | </port> | </service> | </definitions> | | ***** UniversalManagementSei_PortType61107.wsdl | | <definitions name="UniversalManagementEndPointService" targetNamespace="http://jaws.universal.ws.core.mobistore.services.com/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://jaws.universal.ws.core.mobistore.services.com/" xmlns:ns2="http://jaxb.dev.java.net/array" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://universal.ws.core.mobistore.services.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | - <types> | - <xs:schema targetNamespace="http://jaxb.dev.java.net/array" version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema"> | | <xs:complexType name="DataTransferObject" /> | | | - <xs:complexType name="Credentials"> | - <xs:complexContent> | - <xs:extension base="tns:DataTransferObject"> | - <xs:sequence> | <xs:element minOccurs="0" name="userLogin" type="xs:string" /> | <xs:element minOccurs="0" name="userPassword" type="xs:string" /> | </xs:sequence> | </xs:extension> | </xs:complexContent> | </xs:complexType> | </types> | . | . | . | <message name="UniversalManagementSei_startSession"> | <part name="credentials" type="ns1:Credentials"> | </part> | </message> | . | . | . | <message name="UniversalManagementSei_startSessionResponse"> | <part name="return" type="xsd:string"> | </part> | </message> | . | . | . | - <operation name="startSession" parameterOrder="credentials"> | <input message="ns1:UniversalManagementSei_startSession" /> | <output message="ns1:UniversalManagementSei_startSessionResponse" /> | <fault message="ns1:WsGenericException" name="WsGenericException" /> | </operation> | . | . | . | - <operation name="startSession"> | <soap:operation soapAction="" /> | - <input> | <soap:body namespace="http://universal.ws.core.mobistore.services.com/" use="literal" /> | </input> | - <output> | <soap:body namespace="http://universal.ws.core.mobistore.services.com/" use="literal" /> | </output> | - <fault name="WsGenericException"> | <soap:fault name="WsGenericException" use="literal" /> | </fault> | </operation> | Code with annotations. | package com.services.mobistore.core.ws.universal.interfaces; | | import javax.jws.WebMethod; | import javax.jws.WebParam; | import javax.jws.WebResult; | import javax.jws.WebService; | import javax.jws.soap.SOAPBinding; | | @WebService( | name = "UniversalManagementSei", | targetNamespace = "http://jaws.universal.ws.core.mobistore.services.com/" ) | //serviceName = "UniversalManagement" ) | @SOAPBinding( style = SOAPBinding.Style.RPC ) | public interface UniversalManagementSei { | | @WebMethod( operationName="startSession")public abstract String startSession(@WebParam( name="credentials", targetNamespace= "http://jaws.universal.ws.core.mobistore.services.com/" ) Credentials credentials) | throws WsGenericException; | } | Soap messages. | | <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" | xmlns:univ="http://universal.ws.core.mobistore.services.com/"> | <soapenv:Header/> | <soapenv:Body> | <univ:startSession> | <credentials><!--Optional:--> | <userLogin>test</userLogin> | <!--Optional:--> | <userPassword>test</userPassword> | </credentials> | </univ:startSession> | </soapenv:Body> | </soapenv:Envelope> | | <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"> | <env:Header/> | <env:Body> | <env:Fault> | <faultcode>env:Client</faultcode> | <faultstring>Endpoint | {http://management.ws.core.mobistore.services.com/}ManagementEndPointPort does not contain operation meta data for: | {http://management.ws.core.mobistore.services.com/}startSession | </faultstring> | </env:Fault> | </env:Body> | </env:Envelope> | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063628#4063628 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063628 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user