  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | - EndPoint ... does not contain operation meta data for . | - EndPoint ... does not contain operation meta data for . 2007-07-12 - By lacp46
Back 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; | | @(protected)( | name = "UniversalManagementSei", | targetNamespace = "http://jaws.universal.ws.core.mobistore.services .com/" ) | //serviceName = "UniversalManagement" ) | @(protected)( style = SOAPBinding.Style.RPC ) | public interface UniversalManagementSei { | | @(protected)( operationName="startSession")public abstract String startSession(@(protected)( 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@(protected) https://lists.jboss.org/mailman/listinfo/jboss-user
|
|
 |