[jboss-user] [JBoss Web Services Users] - Cannot call JBoss web service through intermediary (soapUI).

Oberiko do-not-reply at jboss.com
Fri Dec 4 17:07:45 EST 2009


Hello,

I'm having a bit of an odd problem.  I have deployed a dummy JbossWS web service onto JBoss AS 5.0.1 and developed a client for it using Axis 1.5.  This works fine.

I then loaded up soapUI and pointed it to my web service and ran the test suite.  Again, everything worked.

However, when I attempt to connect through a soapUI mock service, I get an "Missing operation for soapAction [http://hello.ws.com/HelloWorld/helloRequest] and body element [{http://hello.ws.com/}hello] with SOAP Version [SOAP 1.1]" error.

The WSDL's for the two web services are identical except that the one deployed by soapUI prefixes with "<?xml version="1.0" encoding="UTF-8" ?>" while the version created by JBoss has no XMLDecl
element.

I'm not sure if this is a JBossWS, Axis or SoapUI, but I figured I'd try here first.  Any one encountered anthing like this before?

soapUI error:

  | org.apache.axis2.AxisFault: Missing operation for soapAction [http://hello.ws.com/HelloWorld/helloRequest] and body element [{http://hello.ws.com/}hello] with SOAP Version [SOAP 1.1]
  | 	at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:517)
  | 	at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:371)
  | 	at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:417)
  | 	at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
  | 	at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
  | 	at com.ws.hello.HelloWorldServiceStub.hello(HelloWorldServiceStub.java:181)
  | 	at com.test.TestHelloWorld.testHello(TestHelloWorld.java:27)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | 	at java.lang.reflect.Method.invoke(Unknown Source)
  | 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
  | 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
  | 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
  | 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
  | 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
  | 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
  | 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73)
  | 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46)
  | 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
  | 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
  | 	at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
  | 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
  | 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
  | 	at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
  | 	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46)
  | 	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
  | 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
  | 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
  | 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
  | 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
  | 

The web service:

  | package com.ws.hello;
  | 
  | import javax.jws.WebService;
  | 
  | 
  | @WebService
  | public class HelloWorld {
  | 	public String hello(String name) {
  | 		return "Hello "+name;
  | 	}
  | }
  | 

The client:

  | package com.test;
  | 
  | import java.io.IOException;
  | import java.rmi.RemoteException;
  | 
  | import org.junit.BeforeClass;
  | import org.junit.Test;
  | 
  | import com.ws.hello.HelloWorldServiceStub;
  | import com.ws.hello.HelloWorldServiceStub.*;
  | 
  | public class TestHelloWorld {
  | 	private static HelloWorldServiceStub stub;
  | 	
  | 	@BeforeClass
  | 	public static void initialize() throws IOException{
  | 		stub = new HelloWorldServiceStub();
  | 	}
  | 	
  | 	@Test
  | 	public void testHello() throws RemoteException{
  | 		Hello h = new Hello();
  | 		h.setArg0("World");
  | 		HelloE e = new HelloE();
  | 		e.setHello(h);
  | 		
  | 		HelloResponse r = stub.hello(e).getHelloResponse();
  | 		System.out.println(r.get_return());
  | 	}
  | }
  | 

The Axis log (long):

  | - mapActionToOperation: Mapping Action to Operation: action: anonRobustOp; operation: org.apache.axis2.description.RobustOutOnlyAxisOperation at 1f1fba0named: {http://ws.apache.org/namespaces/axis2}anonRobustOp
  | - mapActionToOperation: Mapping Action to Operation: action: urn:anonRobustOp; operation: org.apache.axis2.description.RobustOutOnlyAxisOperation at 1f1fba0named: {http://ws.apache.org/namespaces/axis2}anonRobustOp
  | - Client-defined operation name matches default operation name. this may cause interoperability issues.  Name is: {http://ws.apache.org/namespaces/axis2}anonOutonlyOp
  | - mapActionToOperation: Mapping Action to Operation: action: anonOutonlyOp; operation: org.apache.axis2.description.OutOnlyAxisOperation at 13c5982named: {http://ws.apache.org/namespaces/axis2}anonOutonlyOp
  | - mapActionToOperation: Mapping Action to Operation: action: urn:anonOutonlyOp; operation: org.apache.axis2.description.OutOnlyAxisOperation at 13c5982named: {http://ws.apache.org/namespaces/axis2}anonOutonlyOp
  | - mapActionToOperation: Mapping Action to Operation: action: anonOutInOp; operation: org.apache.axis2.description.OutInAxisOperation at 1186fabnamed: {http://ws.apache.org/namespaces/axis2}anonOutInOp
  | - mapActionToOperation: Mapping Action to Operation: action: urn:anonOutInOp; operation: org.apache.axis2.description.OutInAxisOperation at 1186fabnamed: {http://ws.apache.org/namespaces/axis2}anonOutInOp
  | - mapActionToOperation: Mapping Action to Operation: action: hello; operation: org.apache.axis2.description.OutInAxisOperation at 14b7453named: {http://hello.ws.com/}hello
  | - mapActionToOperation: Mapping Action to Operation: action: urn:hello; operation: org.apache.axis2.description.OutInAxisOperation at 14b7453named: {http://hello.ws.com/}hello
  | - Trying to find [org/apache/axis2/deployment/axis2_default.xml] using sun.misc.Launcher$AppClassLoader at 133056f class loader.
  | - About to create XMLInputFactory implementation with classloader=sun.misc.Launcher$AppClassLoader at 133056f
  | - The classloader for javax.xml.stream.XMLInputFactory is: sun.misc.Launcher$AppClassLoader at 133056f
  | - Created XMLInputFactory = class com.ctc.wstx.stax.WstxInputFactory with classloader=sun.misc.Launcher$AppClassLoader at 133056f
  | - Size of XMLInputFactory map =1
  | - isNetworkDetached =false
  | - XMLStreamReader is com.ctc.wstx.sr.ValidatingStreamReader
  | - Builder is already complete.
  | - Handler RequestURIBasedDispatcher added to Phase Transport
  | - Handler SOAPActionBasedDispatcher added to Phase Transport
  | - Handler AddressingBasedDispatcher added to Phase Addressing
  | - Handler RequestURIBasedDispatcher added to Phase Dispatch
  | - Handler SOAPActionBasedDispatcher added to Phase Dispatch
  | - Handler RequestURIOperationDispatcher added to Phase Dispatch
  | - Handler SOAPMessageBodyBasedDispatcher added to Phase Dispatch
  | - Handler HTTPLocationBasedDispatcher added to Phase Dispatch
  | - Handler AddressingBasedDispatcher added to Phase Addressing
  | - Handler RequestURIBasedDispatcher added to Phase Dispatch
  | - Handler SOAPActionBasedDispatcher added to Phase Dispatch
  | - Handler RequestURIOperationDispatcher added to Phase Dispatch
  | - Handler SOAPMessageBodyBasedDispatcher added to Phase Dispatch
  | - Handler HTTPLocationBasedDispatcher added to Phase Dispatch
  | - Deploying module from classpath at 'file:/D:/myName/workspaces/webServices/dummy_ws_client/lib/mex-1.5.jar'
  | - XMLStreamReader is com.ctc.wstx.sr.ValidatingStreamReader
  | - Builder is already complete.
  | - getBundle(org.apache.axis2,org.apache.axis2.i18n,resource,null,...)
  | - loadBundle: Ignoring MissingResourceException: Can't find bundle for base name org.apache.axis2.resource, locale en_CA
  | - Created org.apache.axis2.i18n.resource, linked to parent null
  | - getBundle(org.apache.axis2,org.apache.axis2.i18n,resource,null,...)
  | - org.apache.axis2.i18n.resource::handleGetObject(addingnewmodule)
  | - Adding new module
  | - org.apache.axis2.i18n.resource::handleGetObject(deployingmodule)
  | - Deploying module: metadataExchange-1.5 - file:/D:/myName/workspaces/webServices/dummy_ws_client/lib/mex-1.5.jar
  | - Adding service to allServices map: [HelloWorldService1259962123791_1] 
  | - Adding service to allEndpoints map: (HelloWorldService1259962123791_1,HelloWorldService1259962123791_1HttpSoap11Endpoint) 
  | - Adding service to allEndpoints map: (HelloWorldService1259962123791_1,HelloWorldService1259962123791_1HttpEndpoint) 
  | - Adding service to allEndpoints map: (HelloWorldService1259962123791_1,HelloWorldService1259962123791_1HttpSoap12Endpoint) 
  | - After adding to allEndpoints map, size is 3
  | - Get operation for {http://hello.ws.com/}hello
  | - Found axis operation:  org.apache.axis2.description.OutInAxisOperation at 14b7453
  | - registerOperationContext (false): org.apache.axis2.context.OperationContext at bfc8e0 with key: urn:uuid:99D878B4569EACD35E1259962124262
  | - Entry: OutInAxisOperationClient::execute, true
  | - OutInAxisOperationClient: useAsyncOption null
  | - registerOperationContext (false): org.apache.axis2.context.OperationContext at bfc8e0 with key: urn:uuid:99D878B4569EACD35E1259962124262
  | - msgContext: [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124263] action: http://hello.ws.com/HelloWorld/helloRequest
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124263] Checking pre-condition for Phase "OperationOutPhase"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124263] Invoking phase "OperationOutPhase"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124263] Checking post-conditions for phase "OperationOutPhase"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124263] Checking pre-condition for Phase "RMPhase"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124263] Invoking phase "RMPhase"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124263] Checking post-conditions for phase "RMPhase"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124263] Checking pre-condition for Phase "PolicyDetermination"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124263] Invoking phase "PolicyDetermination"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124263] Checking post-conditions for phase "PolicyDetermination"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124263] Checking pre-condition for Phase "MessageOut"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124263] Invoking phase "MessageOut"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124263] Checking post-conditions for phase "MessageOut"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124263] Checking pre-condition for Phase "Security"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124263] Invoking phase "Security"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124263] Checking post-conditions for phase "Security"
  | - Set parameter http.useragent = Jakarta Commons-HttpClient/3.1
  | - Set parameter http.protocol.version = HTTP/1.1
  | - Set parameter http.connection-manager.class = class org.apache.commons.httpclient.SimpleHttpConnectionManager
  | - Set parameter http.protocol.cookie-policy = default
  | - Set parameter http.protocol.element-charset = US-ASCII
  | - Set parameter http.protocol.content-charset = ISO-8859-1
  | - Set parameter http.method.retry-handler = org.apache.commons.httpclient.DefaultHttpMethodRetryHandler at 1b9240e
  | - Set parameter http.dateparser.patterns = [EEE, dd MMM yyyy HH:mm:ss zzz, EEEE, dd-MMM-yy HH:mm:ss zzz, EEE MMM d HH:mm:ss yyyy, EEE, dd-MMM-yyyy HH:mm:ss z, EEE, dd-MMM-yyyy HH-mm-ss z, EEE, dd MMM yy HH:mm:ss z, EEE dd-MMM-yyyy HH:mm:ss z, EEE dd MMM yyyy HH:mm:ss z, EEE dd-MMM-yyyy HH-mm-ss z, EEE dd-MMM-yy HH:mm:ss z, EEE dd MMM yy HH:mm:ss z, EEE,dd-MMM-yy HH:mm:ss z, EEE,dd-MMM-yyyy HH:mm:ss z, EEE, dd-MM-yyyy HH:mm:ss z]
  | - Java version: 1.5.0_14
  | - Java vendor: Sun Microsystems Inc.
  | - Java class path: D:\myName\workspaces\webServices\dummy_ws_client\bin;D:\myName\workspaces\webServices\dummy_ws_client\properties;D:\myName\workspaces\webServices\dummy_ws_client\lib\activation-1.1.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\axiom-api-1.2.8.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\axiom-dom-1.2.8.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\axiom-impl-1.2.8.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\axis2-adb-1.5.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\axis2-adb-codegen-1.5.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\axis2-ant-plugin-1.5.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\axis2-clustering-1.5.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\axis2-codegen-1.5.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\axis2-corba-1.5.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\axis2-fastinfoset-1.5.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\axis2-java2wsdl-1.5.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\axis2-jaxbri-1.5.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\axis2-jaxws-1.5.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\axis2-jibx-1.5.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\axis2-json-1.5.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\axis2-kernel-1.5.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\axis2-metadata-1.5.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\axis2-mtompolicy-1.5.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\axis2-saaj-1.5.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\axis2-spring-1.5.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\axis2-transport-http-1.5.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\axis2-transport-local-1.5.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\axis2-xmlbeans-1.5.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\bcel-5.1.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\commons-codec-1.3.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\commons-fileupload-1.2.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\commons-httpclient-3.1.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\commons-io-1.4.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\commons-lang-2.3.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\commons-logging-1.1.1.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\geronimo-annotation_1.0_spec-1.1.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\geronimo-jaxws_2.1_spec-1.0.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\geronimo-saaj_1.3_spec-1.0.1.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\geronimo-stax-api_1.0_spec-1.0.1.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\geronimo-ws-metadata_2.0_spec-1.1.2.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\httpcore-4.0.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\jalopy-1.5rc3.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\jaxb-api-2.1.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\jaxb-impl-2.1.7.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\jaxb-xjc-2.1.7.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\jaxen-1.1.1.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\jettison-1.0-RC2.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\jibx-bind-1.2.1.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\jibx-run-1.2.1.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\log4j-1.2.15.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\mail-1.4.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\mex-1.5.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\neethi-2.0.4.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\smack-3.0.4.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\smackx-3.0.4.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\soapmonitor-1.5.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\woden-api-1.0M8.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\woden-impl-dom-1.0M8.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\wsdl4j-1.6.2.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\wstx-asl-3.2.4.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\xalan-2.7.0.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\xercesImpl-2.6.2.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\xml-apis-1.3.02.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\xml-resolver-1.2.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\xmlbeans-2.3.0.jar;D:\myName\workspaces\webServices\dummy_ws_client\lib\XmlSchema-1.4.3.jar;D:\myName\opt\eclipse-jee-galileo-SR1-win32\eclipse\plugins\org.junit4_4.5.0.v20090824\junit.jar;D:\myName\opt\eclipse-jee-galileo-SR1-win32\eclipse\plugins\org.hamcrest.core_1.1.0.v20090501071000.jar;/D:/myName/opt/eclipse-jee-galileo-SR1-win32/eclipse/configuration/org.eclipse.osgi/bundles/310/1/.cp/;/D:/myName/opt/eclipse-jee-galileo-SR1-win32/eclipse/configuration/org.eclipse.osgi/bundles/308/1/.cp/;/D:/myName/opt/eclipse-jee-galileo-SR1-win32/eclipse/configuration/org.eclipse.osgi/bundles/309/1/.cp/
  | - Operating system name: Windows XP
  | - Operating system architecture: x86
  | - Operating system version: 5.1
  | - SUN 1.5: SUN (DSA key/parameter generation; DSA signing; SHA-1, MD5 digests; SecureRandom; X.509 certificates; JKS keystore; PKIX CertPathValidator; PKIX CertPathBuilder; LDAP, Collection CertStores)
  | - SunRsaSign 1.5: Sun RSA signature provider
  | - SunJSSE 1.5: Sun JSSE provider(PKCS12, SunX509 key/trust factories, SSLv3, TLSv1)
  | - SunJCE 1.5: SunJCE Provider (implements RSA, DES, Triple DES, AES, Blowfish, ARCFOUR, RC2, PBE, Diffie-Hellman, HMAC)
  | - SunJGSS 1.0: Sun (Kerberos v5)
  | - SunSASL 1.5: Sun SASL provider(implements client mechanisms for: DIGEST-MD5, GSSAPI, EXTERNAL, PLAIN, CRAM-MD5; server mechanisms for: DIGEST-MD5, GSSAPI, CRAM-MD5)
  | - Set parameter http.connection.timeout = 30000
  | - Set parameter http.socket.timeout = 30000
  | - Set parameter http.socket.timeout = 30000
  | - Start getContentType: OMOutputFormat [ mimeBoundary =null rootContentId=null doOptimize=false doingSWA=false isSOAP11=true charSetEncoding=UTF-8 xmlVersion=null contentType=null ignoreXmlDeclaration=false autoCloseWriter=false actionProperty=null optimizedThreshold=0]
  | - getContentType= {text/xml}   OMOutputFormat [ mimeBoundary =null rootContentId=null doOptimize=false doingSWA=false isSOAP11=true charSetEncoding=UTF-8 xmlVersion=null contentType=text/xml ignoreXmlDeclaration=false autoCloseWriter=false actionProperty=null optimizedThreshold=0]
  | - contentType from the OMOutputFormat =text/xml
  | - contentType returned =text/xml; charset=UTF-8
  | - HttpConnectionManager.getConnection:  config = HostConfiguration[host=http://myName1A:8088], timeout = 0
  | - Allocating new connection, hostConfig=HostConfiguration[host=http://myName1A:8088]
  | - Open connection to myName1A:8088
  | - >> "POST /mockHelloWorldBinding HTTP/1.1[\r][\n]"
  | - Adding Host request header
  | - >> "Content-Type: text/xml; charset=UTF-8[\r][\n]"
  | - >> "SOAPAction: "http://hello.ws.com/HelloWorld/helloRequest"[\r][\n]"
  | - >> "User-Agent: Axis2[\r][\n]"
  | - >> "Host: myName1A:8088[\r][\n]"
  | - >> "Transfer-Encoding: chunked[\r][\n]"
  | - >> "[\r][\n]"
  | - start writeTo()
  | -   preserve=false
  | -   isOptimized=false
  | -   isDoingSWA=false
  | - MTOM optimized Threshold value =0
  | - OutputStream =class org.apache.commons.httpclient.ChunkedOutputStream
  | - OMFormat = OMOutputFormat [ mimeBoundary =null rootContentId=null doOptimize=false doingSWA=false isSOAP11=true charSetEncoding=UTF-8 xmlVersion=null contentType=text/xml ignoreXmlDeclaration=false autoCloseWriter=false actionProperty=null optimizedThreshold=0]
  | - About to create XMLOutputFactory implementation with classloader=sun.misc.Launcher$AppClassLoader at 133056f
  | - The classloader for javax.xml.stream.XMLOutputFactory is: sun.misc.Launcher$AppClassLoader at 133056f
  | - Created XMLOutputFactory = class com.ctc.wstx.stax.WstxOutputFactory for classloader=sun.misc.Launcher$AppClassLoader at 133056f
  | - Size of XMLOutputFactory map =1
  | - XMLStreamWriter is com.ctc.wstx.sw.SimpleNsStreamWriter
  | - serialize {http://hello.ws.com/}hello to XMLStreamWriter
  | - Calling MTOMXMLStreamWriter.flush
  | - Calling MTOMXMLStreamWriter.flush
  | - end writeTo()
  | - >> "ec[\r][\n]"
  | - >> "<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns1:hello xmlns:ns1="http://hello.ws.com/"><arg0>World</arg0></ns1:hello></soapenv:Body></soapenv:Envelope>"
  | - >> "[\r][\n]"
  | - >> "0"
  | - >> "[\r][\n]"
  | - >> "[\r][\n]"
  | - Request body sent
  | - << "HTTP/1.1 500 Internal Server Error[\r][\n]"
  | - << "HTTP/1.1 500 Internal Server Error[\r][\n]"
  | - << "Content-Type: text/html; charset=iso-8859-1[\r][\n]"
  | - << "Transfer-Encoding: chunked[\r][\n]"
  | - << "Server: Jetty(6.1.x)[\r][\n]"
  | - << "[\r][\n]"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124263] Invoking flowComplete() in Phase "Security"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124263] Invoking flowComplete() in Phase "MessageOut"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124263] Invoking flowComplete() in Phase "PolicyDetermination"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124263] Invoking flowComplete() in Phase "RMPhase"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124263] Invoking flowComplete() in Phase "OperationOutPhase"
  | - Could not find a Builder for type (text/html).  Using SOAP.
  | - << "1"
  | - << "9"
  | - << "3"
  | - << "[\r]"
  | - << "[\n]"
  | - << "<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">[\r][\n]"
  | - << "  <soapenv:Body>[\r][\n]"
  | - << "    <soapenv:Fault>[\r][\n]"
  | - << "      <faultcode>Server</faultcode>[\r][\n]"
  | - << "      <faultstring>Missing operation for soapAction [http://hello.ws.com/HelloWorld/helloRequest] and body element [{http://hello.ws.com/}hello] with SOAP Version [SOAP 1.1]</faultstring>[\r][\n]"
  | - << "    </soapenv:Fault>[\r][\n]"
  | - << "  </soapenv:Body>[\r][\n]"
  | - << "</soapenv:Envelope>"
  | - XMLStreamReader is com.ctc.wstx.sr.ValidatingStreamReader
  | - Starting to process SOAP 1.1 message
  | - Build the OMElement Envelope by the StaxSOAPModelBuilder
  | - Build the OMElement Body by the StaxSOAPModelBuilder
  | - Build the OMElement Fault by the StaxSOAPModelBuilder
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124494] Checking pre-condition for Phase "Addressing"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124494] Invoking phase "Addressing"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124494] Invoking Handler 'AddressingBasedDispatcher' in Phase 'Addressing'
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124494] Checking post-conditions for phase "Addressing"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124494] Checking pre-condition for Phase "Security"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124494] Invoking phase "Security"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124494] Checking post-conditions for phase "Security"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124494] Checking pre-condition for Phase "PreDispatch"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124494] Invoking phase "PreDispatch"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124494] Checking post-conditions for phase "PreDispatch"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124494] Checking pre-condition for Phase "Dispatch"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124494] Invoking phase "Dispatch"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124494] Invoking Handler 'RequestURIBasedDispatcher' in Phase 'Dispatch'
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124494] Invoking Handler 'SOAPActionBasedDispatcher' in Phase 'Dispatch'
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124494] Invoking Handler 'RequestURIOperationDispatcher' in Phase 'Dispatch'
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124494] Invoking Handler 'SOAPMessageBodyBasedDispatcher' in Phase 'Dispatch'
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124494] Invoking Handler 'HTTPLocationBasedDispatcher' in Phase 'Dispatch'
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124494] Checking post-conditions for phase "Dispatch"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124494] Checking pre-condition for Phase "RMPhase"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124494] Invoking phase "RMPhase"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124494] Checking post-conditions for phase "RMPhase"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124494] Checking pre-condition for Phase "OperationInPhase"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124494] Invoking phase "OperationInPhase"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124494] Checking post-conditions for phase "OperationInPhase"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124494] Invoking flowComplete() in Phase "OperationInPhase"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124494] Invoking flowComplete() in Phase "RMPhase"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124494] Invoking flowComplete() in Phase "Dispatch"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124494] Invoking flowComplete() for Handler 'HTTPLocationBasedDispatcher' in Phase 'Dispatch'
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124494] Invoking flowComplete() for Handler 'SOAPMessageBodyBasedDispatcher' in Phase 'Dispatch'
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124494] Invoking flowComplete() for Handler 'RequestURIOperationDispatcher' in Phase 'Dispatch'
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124494] Invoking flowComplete() for Handler 'SOAPActionBasedDispatcher' in Phase 'Dispatch'
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124494] Invoking flowComplete() for Handler 'RequestURIBasedDispatcher' in Phase 'Dispatch'
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124494] Invoking flowComplete() in Phase "PreDispatch"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124494] Invoking flowComplete() in Phase "Security"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124494] Invoking flowComplete() in Phase "Addressing"
  | - [MessageContext: logID=urn:uuid:99D878B4569EACD35E1259962124494] Invoking flowComplete() for Handler 'AddressingBasedDispatcher' in Phase 'Addressing'
  | - Build the OMElement faultcode by the StaxSOAPModelBuilder
  | - Build the OMElement faultstring by the StaxSOAPModelBuilder
  | - << "[\r]"
  | - << "[\n]"
  | - << "0"
  | - << "[\r]"
  | - << "[\n]"
  | - << "[\r]"
  | - << "[\n]"
  | - << "[\r][\n]"
  | - Resorting to protocol version default close connection policy
  | - Should NOT close connection, using HTTP/1.1
  | - Releasing connection back to connection manager.
  | - Freeing connection, hostConfig=HostConfiguration[host=http://myName1A:8088]
  | - Adding connection at: 1259962124492
  | - Notifying no-one, there are no waiting threads
  | 

The WSDL:

  | <?xml version="1.0" encoding="UTF-8"?>
  | <definitions name="HelloWorldService" targetNamespace="http://hello.ws.com/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://hello.ws.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
  |   <types>
  |     <xs:schema targetNamespace="http://hello.ws.com/" version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  |       <xs:element name="hello" type="tns:hello"/>
  |       <xs:element name="helloResponse" type="tns:helloResponse"/>
  |       <xs:complexType name="hello">
  |         <xs:sequence>
  |           <xs:element minOccurs="0" name="arg0" type="xs:string"/>
  |         </xs:sequence>
  |       </xs:complexType>
  |       <xs:complexType name="helloResponse">
  |         <xs:sequence>
  |           <xs:element minOccurs="0" name="return" type="xs:string"/>
  |         </xs:sequence>
  |       </xs:complexType>
  |     </xs:schema>
  |   </types>
  |   <message name="HelloWorld_helloResponse">
  |     <part name="helloResponse" element="tns:helloResponse">
  |     </part>
  |   </message>
  |   <message name="HelloWorld_hello">
  |     <part name="hello" element="tns:hello">
  |     </part>
  |   </message>
  |   <portType name="HelloWorld">
  |     <operation name="hello" parameterOrder="hello">
  |       <input message="tns:HelloWorld_hello">
  |     </input>
  |       <output message="tns:HelloWorld_helloResponse">
  |     </output>
  |     </operation>
  |   </portType>
  |   <binding name="HelloWorldBinding" type="tns:HelloWorld">
  |     <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
  |     <operation name="hello">
  |       <soap:operation soapAction=""/>
  |       <input>
  |         <soap:body use="literal"/>
  |       </input>
  |       <output>
  |         <soap:body use="literal"/>
  |       </output>
  |     </operation>
  |   </binding>
  |   <service name="HelloWorldService">
  |     <port name="HelloWorldPort" binding="tns:HelloWorldBinding">
  |       <soap:address location="http://myName1A:8088/mockHelloWorldBinding"/>
  |     </port>
  |   </service>
  | </definitions>
  | 

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269111#4269111

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269111




More information about the jboss-user mailing list