Java Mailing List Archive

http://www.junlu.com/

Google
Google
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
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
- 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

©2008 junlu.com - Jax Systems, LLC, U.S.A.