[JBossWS] - urgent: java enums and mapping file...
by tejasjani
Hi all...
I am in urgent need of help.
I have some enum types defined in my schema. I have already written the associated enum type classes for them as described in some other posts here.
Now, I am not able to figure out how to change the jaxrpc-mapping file to map the xml enum types to the Java type classes.
I have looked for answers in a lot of places but could not find it.
Pls. help.
thanks
e.g.
Here is the enum type
<xsd:simpleType name="StatusType">
<xsd:restriction base="xsd:string">
<!-- The operation was successful. -->
<xsd:enumeration value="Success" />
<!-- An error occured while processing the request. -->
<xsd:enumeration value="SystemError" />
<!-- An error occurred due to input given from the user -->
<xsd:enumeration value="UserError" />
</xsd:restriction>
</xsd:simpleType>
-------------------------------------
Here is its Java type:
import java.io.Serializable;
public class StatusType implements Serializable {
private java.lang.String _value_;
private static java.util.HashMap _table_ = new java.util.HashMap();
// Constructor
protected StatusType(java.lang.String value)
{
_value_ = value;
_table_.put(_value_,this);
}
public static final java.lang.String _SUCCESS = "Success";
public static final java.lang.String _SYSTEMERROR = "SystemError";
public static final java.lang.String _USERERROR = "UserError";
public static final StatusType SUCCESS = new StatusType(_SUCCESS);
public static final StatusType USERERROR = new StatusType(_USERERROR);
public static final StatusType SYSTEMERROR = new StatusType(_SYSTEMERROR);
public java.lang.String getValue() { return _value_;}
public static StatusType fromValue(java.lang.String value)
throws java.lang.IllegalArgumentException
{
StatusType enumeration = (StatusType)_table_.get(value);
if (enumeration==null) throw new java.lang.IllegalArgumentException();
return enumeration;
}
public static StatusType fromString(java.lang.String value)
throws java.lang.IllegalArgumentException
{
return fromValue(value);
}
public boolean equals(java.lang.Object obj) {return (obj == this);}
public int hashCode() { return toString().hashCode();}
public java.lang.String toString() { return _value_;}
public java.lang.Object readResolve() throws java.io.ObjectStreamException { return fromValue(_value_);}
}
-------------------------------------------------
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008668#4008668
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008668
17 years, 10 months
[JBossWS] - Problem generating SOAPFaults
by bcguitar33
Hi there,
I've written a simple skeleton web service to generate. Right now I'm just trying to test such that proper input returns an "OK" value and improper input (such as non-matching XML tags) is replied to with a fault.
My service replies correctly when the correct input is given, but when a bad SOAP message is sent, such as a typo in an opening tag but not a closing, the client gets no reply and the server logs an exception a la:
15:21:29,103 ERROR [STDERR] [Fatal Error] :4:60: The end-tag for element type "CustomerID" must end with a '>' delimiter.
15:21:29,104 ERROR [SOAPFaultExceptionHelper] SOAP request exception
java.io.IOException: org.xml.sax.SAXParseException: The end-tag for element type "CustomerID" must end with a '>' delimiter.
at org.jboss.util.xml.DOMUtils.parse(DOMUtils.java:110)
at org.jboss.ws.soap.MessageFactoryImpl.createSOAPEnvelope(MessageFactoryImpl.java:238)
at org.jboss.ws.soap.MessageFactoryImpl.createMessageInternal(MessageFactoryImpl.java:227)
at org.jboss.ws.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:157)
at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:215)
at org.jboss.ws.server.ServiceEndpointServlet.doPost(ServiceEndpointServlet.java:120)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
15:21:29,105 ERROR [SOAPFaultExceptionHelper] Error creating SOAPFault message
org.jboss.ws.WSException: Cannot obtain NamespaceRegistry, because there is no SOAPMessage associated with this context
at org.jboss.ws.soap.SOAPMessageContextImpl.getNamespaceRegistry(SOAPMessageContextImpl.java:140)
at org.jboss.ws.soap.SOAPMessageContextImpl.getSerializationContext(SOAPMessageContextImpl.java:130)
at org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.toSOAPMessage(SOAPFaultExceptionHelper.java:223)
at org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.exceptionToFaultMessage(SOAPFaultExceptionHelper.java:177)
at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:248)
at org.jboss.ws.server.ServiceEndpointServlet.doPost(ServiceEndpointServlet.java:120)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
15:21:29,107 ERROR [AbstractServlet] Error processing web service request
javax.xml.rpc.JAXRPCException: Cannot create SOAPFault message for: javax.xml.rpc.soap.SOAPFaultException: java.io.IOException: org.xml.sax.SAXParseException: The end-tag for element type "CustomerID" must end with a '>' delimiter.
at org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.exceptionToFaultMessage(SOAPFaultExceptionHelper.java:183)
at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:248)
at org.jboss.ws.server.ServiceEndpointServlet.doPost(ServiceEndpointServlet.java:120)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
15:21:29,109 ERROR [[SVAEndpoint]] Servlet.service() for servlet SVAEndpoint threw exception
javax.xml.rpc.JAXRPCException: Cannot create SOAPFault message for: javax.xml.rpc.soap.SOAPFaultException: java.io.IOException: org.xml.sax.SAXParseException: The end-tag for element type "CustomerID" must end with a '>' delimiter.
at org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.exceptionToFaultMessage(SOAPFaultExceptionHelper.java:183)
at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:248)
at org.jboss.ws.server.ServiceEndpointServlet.doPost(ServiceEndpointServlet.java:120)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
I'd appreciate any input as to what could be causing this...Thank you very much!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008491#4008491
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008491
17 years, 10 months
[JBossWS] - Error when invoking Webservice deployed in Jboss 4.0.3
by mpardeshi
Hi,
I downloaded the jbossws-1.0.4.GA and deployed one sample (jsr109pojo) in Jboss 4.0.3. When I hit this URL: http://localhost:8080/ws4ee/services , I do see the deployed service as:
And now... Some Services
jaxrpc-samples-jsr109pojo-rpc.war#TestService/JaxRpcTestServicePort (wsdl)
echoSimpleUserType
| echoString
|
|
| However I get an exception when I try to access the service from a standalone java client. I have tried a lot of options but in vain.
| Here is my client code:
|
|
| | ServiceFactoryImpl factory = new ServiceFactoryImpl();
| | URL wsdlURL = new File("resources/jaxrpc/samples/jsr109pojo/rpclit//WEB-INF/wsdl/TestService.wsdl").toURL();
| | URL mappingURL = new File("resources/jaxrpc/samples/jsr109pojo/rpclit/WEB-INF/jaxrpc-mapping.xml").toURL();
| | QName qname = new QName("http://org.jboss.ws/samples/jsr109pojo", "TestService");
| | Service service = factory.createService(wsdlURL, qname, mappingURL);
| | port = (JaxRpcTestService)service.getPort(JaxRpcTestService.class);
| | ((Stub)port)._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY, "http://" + "SECEMPARDESM" + ":8080/jaxrpc-samples-jsr109pojo-rpc");
| | port.echoString("test", "test");
|
|
| And here is the exception I get when I call port.echoString("test", "test"); above:
|
|
| Exception in thread "main" java.lang.NoSuchMethodError: org.jboss.remoting.Client.<init>(Lorg/jboss/remoting/InvokerLocator;Ljava/lang/String;Ljava/util/Map;)V
| | at org.jboss.ws.soap.SOAPConnectionImpl.createRemotingClient(SOAPConnectionImpl.java:205)
| | at org.jboss.ws.soap.SOAPConnectionImpl.callInternal(SOAPConnectionImpl.java:149)
| | at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:92)
| | at org.jboss.ws.common.CommonClient.invoke(CommonClient.java:294)
| | at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:560)
| | at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:338)
| | at org.jboss.ws.jaxrpc.CallProxy.invoke(CallProxy.java:148)
| | at $Proxy0.echoString(Unknown Source)
| | at org.jboss.test.ws.jaxws.samples.jsr181pojo.RpcJSETestCase.main(JSR181WebServiceJSETestCase.java:103)
| |
|
| I have followed exactly the same steps as in the WS documentation. Can anyone please let me know what am I missing?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008479#4008479
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008479
17 years, 10 months
[JBossWS] - java client and MS Webservice
by firestormua
I am trying to make Jboss WS jaxrpc client from samples work with MS webservice. I got next error when I run client:
anonymous wrote :
| [java] 12:01:12,376 WARN [WSDLDefinitions] Multiple WSDL bindings referrence the same interface: {http://tempuri.org/TitanWebServices/TitanService}TitanServiceSoap
| [java] 12:01:12,408 WARN [WSDLDefinitions] Multiple WSDL bindings referrence the same interface: {http://tempuri.org/TitanWebServices/TitanService}TitanServiceSoap
| [java] 12:01:12,423 WARN [SchemaBindingBuilder] Cannot obtain type binding for: {http://tempuri.org/TitanWebServices/TitanService}>TitanRunNavisionResult
| [java] 12:01:12,455 ERROR [STDERR] javax.xml.rpc.JAXRPCException: Cannot obtain operation meta data for: {http://tempuri.org/TitanWebServices/TitanService}TitanRunNavision
| [java] 12:01:12,455 ERROR [STDERR] at org.jboss.ws.jaxrpc.CallImpl.getOperationMetaData(CallImpl.java:840)
| [java] 12:01:12,455 ERROR [STDERR] at org.jboss.ws.jaxrpc.CallImpl.getOperationMetaData(CallImpl.java:820)
| [java] 12:01:12,455 ERROR [STDERR] at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:618)
| [java] 12:01:12,455 ERROR [STDERR] at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:404)
| [java] 12:01:12,455 ERROR [STDERR] at
| ........
| <-------------------------skipped
|
|
I feel there is something small I am missing here, can somebody tell me what is wrong here?
It generated next classes in package org.tempuri.titanwebservices.titanservice;:TitanRunNavision.java
| TitanRunNavisionResponse.java
| TitanRunNavisionResponseTitanRunNavisionResult.java
| TitanService.java
| TitanServiceSoap.java
|
| here is my code
|
| | private final String TARGET_ENDPOINT_ADDRESS1 = "http://dev4:6699/titanwebservices/service.asmx";
| | private static final String TARGET_NAMESPACE1 = "http://tempuri.org/TitanWebServices/TitanService";
| | private static Call call;
| |
| | protected void setUp() throws Exception
| | {
| |
| | if (port == null)
| | {
| | ServiceFactoryImpl factory = new ServiceFactoryImpl();
| | URL wsdlLocation = new URL(TARGET_ENDPOINT_ADDRESS1 + "?wsdl");
| | URL mappingURL = new File("c:/tmp/ws/jaxrpc-mapping.xml").toURL();
| | //service wsdl location
| | QName serviceName = new QName(TARGET_NAMESPACE1, "TitanService");
| | ServiceImpl service = (ServiceImpl)factory.createService(wsdlLocation, serviceName, mappingURL);
| | call = service.createCall();
| | }
| | }
| |
| |
| | public void testUserType() throws Exception
| | {
| | QName operationName = new QName(TARGET_NAMESPACE1, "TitanRunNavision");
| | call.setOperationName(operationName);
| | String functionName = "GetCustomer";
| | String parameterList = "10000";
| | Object retObj = call.invoke(new Object[]{functionName, parameterList});
| | System.out.println("done");
| | }
| |
| here is wsdl
| | <?xml version="1.0" encoding="UTF-8"?>
| | <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
| | xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
| | xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://tempuri.org/TitanWebServices/TitanService" xmlns:s="http://www.w3.org/2001/XMLSchema"
| | xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
| | xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://tempuri.org/TitanWebServices/TitanService"
| | xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
| | <wsdl:types>
| | <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/TitanWebServices/TitanService">
| | <s:element name="TitanRunNavision">
| | <s:complexType>
| | <s:sequence>
| | <s:element minOccurs="0" maxOccurs="1" name="FunctionName" type="s:string"/>
| | <s:element minOccurs="0" maxOccurs="1" name="ParameterList" type="s:string"/>
| | </s:sequence>
| | </s:complexType>
| | </s:element>
| | <s:element name="TitanRunNavisionResponse">
| | <s:complexType>
| | <s:sequence>
| | <s:element minOccurs="0" maxOccurs="1" name="TitanRunNavisionResult">
| | <s:complexType>
| | <s:sequence>
| | <s:any/>
| | </s:sequence>
| | </s:complexType>
| | </s:element>
| | </s:sequence>
| | </s:complexType>
| | </s:element>
| | </s:schema>
| | </wsdl:types>
| | <wsdl:message name="TitanRunNavisionSoapIn">
| | <wsdl:part name="parameters" element="tns:TitanRunNavision"/>
| | </wsdl:message>
| | <wsdl:message name="TitanRunNavisionSoapOut">
| | <wsdl:part name="parameters" element="tns:TitanRunNavisionResponse"/>
| | </wsdl:message>
| | <wsdl:portType name="TitanServiceSoap">
| | <wsdl:operation name="TitanRunNavision">
| | <wsdl:input message="tns:TitanRunNavisionSoapIn"/>
| | <wsdl:output message="tns:TitanRunNavisionSoapOut"/>
| | </wsdl:operation>
| | </wsdl:portType>
| | <wsdl:binding name="TitanServiceSoap" type="tns:TitanServiceSoap">
| | <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
| | <wsdl:operation name="TitanRunNavision">
| | <soap:operation soapAction="http://tempuri.org/TitanWebServices/TitanService/TitanRunNavision" style="document"/>
| | <wsdl:input>
| | <soap:body use="literal"/>
| | </wsdl:input>
| | <wsdl:output>
| | <soap:body use="literal"/>
| | </wsdl:output>
| | </wsdl:operation>
| | </wsdl:binding>
| | <wsdl:binding name="TitanServiceSoap12" type="tns:TitanServiceSoap">
| | <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
| | <wsdl:operation name="TitanRunNavision">
| | <soap12:operation soapAction="http://tempuri.org/TitanWebServices/TitanService/TitanRunNavision" style="document"/>
| | <wsdl:input>
| | <soap12:body use="literal"/>
| | </wsdl:input>
| | <wsdl:output>
| | <soap12:body use="literal"/>
| | </wsdl:output>
| | </wsdl:operation>
| | </wsdl:binding>
| | <wsdl:service name="TitanService">
| | <wsdl:port name="TitanServiceSoap" binding="tns:TitanServiceSoap">
| | <soap:address location="http://dev4/titanwebservices/service.asmx"/>
| | </wsdl:port>
| | <wsdl:port name="TitanServiceSoap12" binding="tns:TitanServiceSoap12">
| | <soap12:address location="http://dev4/titanwebservices/service.asmx"/>
| | </wsdl:port>
| | </wsdl:service>
| | </wsdl:definitions>
|
| mapping generated by jboss wstools
| | <?xml version='1.0' encoding='UTF-8'?><java-wsdl-mapping version='1.1' xmlns='http://java.sun.com/xml/ns/j2ee' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd'>
| | <package-mapping>
| | <package-type>org.tempuri.titanwebservices.titanservice</package-type>
| | <namespaceURI>http://tempuri.org/TitanWebServices/TitanService</namespaceURI>
| | </package-mapping>
| | <java-xml-type-mapping>
| | <java-type>org.tempuri.titanwebservices.titanservice.TitanRunNavision</java-type>
| | <anonymous-type-qname xmlns:typeNS='http://tempuri.org/TitanWebServices/TitanService'>typeNS:>TitanRunNavision</anonymous-type-qname>
| | <qname-scope>complexType</qname-scope>
| | <variable-mapping>
| | <java-variable-name>functionName</java-variable-name>
| | <xml-element-name>FunctionName</xml-element-name>
| | </variable-mapping>
| | <variable-mapping>
| | <java-variable-name>parameterList</java-variable-name>
| | <xml-element-name>ParameterList</xml-element-name>
| | </variable-mapping>
| | </java-xml-type-mapping>
| | <java-xml-type-mapping>
| | <java-type>org.tempuri.titanwebservices.titanservice.TitanRunNavisionResult</java-type>
| | <anonymous-type-qname xmlns:typeNS='http://tempuri.org/TitanWebServices/TitanService'>typeNS:>TitanRunNavisionResult</anonymous-type-qname>
| | <qname-scope>complexType</qname-scope>
| | </java-xml-type-mapping>
| | <java-xml-type-mapping>
| | <java-type>org.tempuri.titanwebservices.titanservice.TitanRunNavisionResponse</java-type>
| | <anonymous-type-qname xmlns:typeNS='http://tempuri.org/TitanWebServices/TitanService'>typeNS:>TitanRunNavisionResponse</anonymous-type-qname>
| | <qname-scope>complexType</qname-scope>
| | <variable-mapping>
| | <java-variable-name>titanRunNavisionResult</java-variable-name>
| | <xml-element-name>TitanRunNavisionResult</xml-element-name>
| | </variable-mapping>
| | </java-xml-type-mapping>
| | <service-interface-mapping>
| | <service-interface>org.tempuri.titanwebservices.titanservice.TitanService</service-interface>
| | <wsdl-service-name xmlns:serviceNS='http://tempuri.org/TitanWebServices/TitanService'>serviceNS:TitanService</wsdl-service-name>
| | <port-mapping>
| | <port-name>TitanServiceSoap</port-name>
| | <java-port-name>TitanServiceSoap</java-port-name>
| | </port-mapping>
| | <port-mapping>
| | <port-name>TitanServiceSoap12</port-name>
| | <java-port-name>TitanServiceSoap12</java-port-name>
| | </port-mapping>
| | </service-interface-mapping>
| | <service-endpoint-interface-mapping>
| | <service-endpoint-interface>org.tempuri.titanwebservices.titanservice.TitanServiceSoap</service-endpoint-interface>
| | <wsdl-port-type xmlns:portTypeNS='http://tempuri.org/TitanWebServices/TitanService'>portTypeNS:TitanServiceSoap</wsdl-port-type>
| | <wsdl-binding xmlns:bindingNS='http://tempuri.org/TitanWebServices/TitanService'>bindingNS:TitanServiceSoap</wsdl-binding>
| | <service-endpoint-method-mapping>
| | <java-method-name>titanRunNavision</java-method-name>
| | <wsdl-operation>TitanRunNavision</wsdl-operation>
| | <method-param-parts-mapping>
| | <param-position>0</param-position>
| | <param-type>org.tempuri.titanwebservices.titanservice.TitanRunNavision</param-type>
| | <wsdl-message-mapping>
| | <wsdl-message xmlns:wsdlMsgNS='http://tempuri.org/TitanWebServices/TitanService'>wsdlMsgNS:TitanRunNavisionSoapIn</wsdl-message>
| | <wsdl-message-part-name>parameters</wsdl-message-part-name>
| | <parameter-mode>INOUT</parameter-mode>
| | </wsdl-message-mapping>
| | </method-param-parts-mapping>
| | <wsdl-return-value-mapping>
| | <method-return-value>org.tempuri.titanwebservices.titanservice.TitanRunNavisionResponse</method-return-value>
| | <wsdl-message xmlns:wsdlMsgNS='http://tempuri.org/TitanWebServices/TitanService'>wsdlMsgNS:TitanRunNavisionSoapOut</wsdl-message>
| | <wsdl-message-part-name>parameters</wsdl-message-part-name>
| | </wsdl-return-value-mapping>
| | </service-endpoint-method-mapping>
| | </service-endpoint-interface-mapping>
| | <service-endpoint-interface-mapping>
| | <service-endpoint-interface>org.tempuri.titanwebservices.titanservice.TitanServiceSoap</service-endpoint-interface>
| | <wsdl-port-type xmlns:portTypeNS='http://tempuri.org/TitanWebServices/TitanService'>portTypeNS:TitanServiceSoap</wsdl-port-type>
| | <wsdl-binding xmlns:bindingNS='http://tempuri.org/TitanWebServices/TitanService'>bindingNS:TitanServiceSoap12</wsdl-binding>
| | <service-endpoint-method-mapping>
| | <java-method-name>titanRunNavision</java-method-name>
| | <wsdl-operation>TitanRunNavision</wsdl-operation>
| | <method-param-parts-mapping>
| | <param-position>0</param-position>
| | <param-type>org.tempuri.titanwebservices.titanservice.TitanRunNavision</param-type>
| | <wsdl-message-mapping>
| | <wsdl-message xmlns:wsdlMsgNS='http://tempuri.org/TitanWebServices/TitanService'>wsdlMsgNS:TitanRunNavisionSoapIn</wsdl-message>
| | <wsdl-message-part-name>parameters</wsdl-message-part-name>
| | <parameter-mode>INOUT</parameter-mode>
| | </wsdl-message-mapping>
| | </method-param-parts-mapping>
| | <wsdl-return-value-mapping>
| | <method-return-value>org.tempuri.titanwebservices.titanservice.TitanRunNavisionResponse</method-return-value>
| | <wsdl-message xmlns:wsdlMsgNS='http://tempuri.org/TitanWebServices/TitanService'>wsdlMsgNS:TitanRunNavisionSoapOut</wsdl-message>
| | <wsdl-message-part-name>parameters</wsdl-message-part-name>
| | </wsdl-return-value-mapping>
| | </service-endpoint-method-mapping>
| | </service-endpoint-interface-mapping>
| | </java-wsdl-mapping>
| |
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008428#4008428
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008428
17 years, 10 months