You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Charles Souillard <Ch...@ext.bull.net> on 2006/09/04 15:03:06 UTC
SM-http
Hi all,
I am now able to execute complex process like a factorial service in my
BPEL engine.
I am trying to correct a problem on an easy example : helloworld.
I have deploy a SA containig two SU : one for http and one for my BPEL
engine
client --> Http --> NMR --> Orchestra (which adds Hello before the input
string)
|
|
Client <-- Http <-- NMR <--
This is a request/response message exchange both for http and BPEL engine
I can see the answer on the server side which is the correct one. My
problem is on the client side. I get an exception. I give you traces I
have on the server side when Orchestra replies to http and the error I
get on the client side.
Thanks to traces I am not able to see that the build enveloppe is not
well-formed. I have not found a way to debug sm-http to log the xml
message sent.
Can you give me some help ?
Thanks
Charles
DEBUG - DeliveryChannelImpl - Accepting
ID:frec445363-32859-1157373300872-2:2 in DeliveryChannel{servicemix-http}
DEBUG - DeliveryChannelImpl - Accepted: InOut[
id: ID:frec445363-32859-1157373300872-2:2
status: Active
role: consumer
service: {urn:helloworld:bpel:bsoap}HelloWorldServiceBP
endpoint: HelloWorld
operation: initiate
in: <?xml version="1.0" encoding="UTF-8"?><tns:initiateHelloWorld
xmlns:tns="urn:helloworld:bpel:bsoap">
<name>Goulven</name>
</tns:initiateHelloWorld>
out: <?xml version="1.0" encoding="UTF-8"?><initiateHelloWorldResponse
xmlns="urn:helloworld:bpel:bsoap"><result>Hello
Goulven</result></initiateHelloWorldResponse>
]
DEBUG - HttpComponent - Received exchange: status:
Active, role: javax.jbi.messaging.MessageExchange$Role@13ded77
DEBUG - ServerManager - Dispatching job:
HEP@2258233[d=true,io=0,w=true,b=0|0]
DEBUG - DeliveryChannelImpl - Send
ID:frec445363-32859-1157373300872-2:2 in DeliveryChannel{servicemix-http}
DEBUG - DeliveryChannelImpl - Sent: InOut[
id: ID:frec445363-32859-1157373300872-2:2
status: Done
role: consumer
service: {urn:helloworld:bpel:bsoap}HelloWorldServiceBP
endpoint: HelloWorld
operation: initiate
in: <?xml version="1.0" encoding="UTF-8"?><tns:initiateHelloWorld
xmlns:tns="urn:helloworld:bpel:bsoap">
<name>Goulven</name>
</tns:initiateHelloWorld>
out: <?xml version="1.0" encoding="UTF-8"?><initiateHelloWorldResponse
xmlns="urn:helloworld:bpel:bsoap"><result>Hello
Goulven</result></initiateHelloWorldResponse>
]
DEBUG - SedaFlow - Called Flow send
DEBUG - SedaQueue -
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@16af10 dequeued
exchange: InOut[
id: ID:frec445363-32859-1157373300872-2:2
status: Done
role: provider
service: {urn:helloworld:bpel:bsoap}HelloWorldServiceBP
endpoint: HelloWorld
operation: initiate
in: <?xml version="1.0" encoding="UTF-8"?><tns:initiateHelloWorld
xmlns:tns="urn:helloworld:bpel:bsoap">
<name>Goulven</name>
</tns:initiateHelloWorld>
out: <?xml version="1.0" encoding="UTF-8"?><initiateHelloWorldResponse
xmlns="urn:helloworld:bpel:bsoap"><result>Hello
Goulven</result></initiateHelloWorldResponse>
]
DEBUG - DeliveryChannelImpl - Processing inbound exchange: InOut[
id: ID:frec445363-32859-1157373300872-2:2
status: Done
role: provider
service: {urn:helloworld:bpel:bsoap}HelloWorldServiceBP
endpoint: HelloWorld
operation: initiate
in: <?xml version="1.0" encoding="UTF-8"?><tns:initiateHelloWorld
xmlns:tns="urn:helloworld:bpel:bsoap">
<name>Goulven</name>
</tns:initiateHelloWorld>
out: <?xml version="1.0" encoding="UTF-8"?><initiateHelloWorldResponse
xmlns="urn:helloworld:bpel:bsoap"><result>Hello
Goulven</result></initiateHelloWorldResponse>
]
DEBUG - DeliveryChannelImpl - Accepting
ID:frec445363-32859-1157373300872-2:2 in DeliveryChannel{Orchestra}
DEBUG - DeliveryChannelImpl - Accepted: InOut[
id: ID:frec445363-32859-1157373300872-2:2
status: Done
role: provider
service: {urn:helloworld:bpel:bsoap}HelloWorldServiceBP
endpoint: HelloWorld
operation: initiate
in: <?xml version="1.0" encoding="UTF-8"?><tns:initiateHelloWorld
xmlns:tns="urn:helloworld:bpel:bsoap">
<name>Goulven</name>
</tns:initiateHelloWorld>
out: <?xml version="1.0" encoding="UTF-8"?><initiateHelloWorldResponse
xmlns="urn:helloworld:bpel:bsoap"><result>Hello
Goulven</result></initiateHelloWorldResponse>
]
OrchestraExchangeProcessor.process, exchange = InOut[
id: ID:frec445363-32859-1157373300872-2:2
status: Done
role: provider
service: {urn:helloworld:bpel:bsoap}HelloWorldServiceBP
endpoint: HelloWorld
operation: initiate
in: <?xml version="1.0" encoding="UTF-8"?><tns:initiateHelloWorld
xmlns:tns="urn:helloworld:bpel:bsoap">
<name>Goulven</name>
</tns:initiateHelloWorld>
out: <?xml version="1.0" encoding="UTF-8"?><initiateHelloWorldResponse
xmlns="urn:helloworld:bpel:bsoap"><result>Hello
Goulven</result></initiateHelloWorldResponse>
After making the call, returnMess = org.apache.axis.Message@55a338
[java] body = <soapenv:Body
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Fault><faultcode>soapenv:Server.userException</faultcode><faultstring>org.xml.sax.SAXException:
Bad envelope tag:
initiateHelloWorldResponse</faultstring><detail><ns1:stackTrace
xmlns:ns1="http://xml.apache.org/axis/">org.xml.sax.SAXException: Bad
envelope tag: initiateHelloWorldResponse
[java] at
org.apache.axis.message.EnvelopeBuilder.startElement(EnvelopeBuilder.java:71)
[java] at
org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048)
[java] at
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
[java] at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
[java] at
org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown
Source)
[java] at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
[java] at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
[java] at
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[java] at
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[java] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
[java] at
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
[java] at
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
[java] at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
[java] at
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
[java] at
org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
[java] at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
[java] at org.apache.axis.client.Call.invokeEngine(Call.java:2804)
[java] at org.apache.axis.client.Call.invoke(Call.java:2767)
[java] at org.apache.axis.client.Call.invoke(Call.java:1870)
[java] at
org.apache.axis.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:90)
[java] at
com.bull.bsoap.bpel.testJBI.HttpBpel.HttpBpelClient.main(Unknown Source)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:585)
[java] at
org.objectweb.jonas.client.ClientContainer.invokeClient(ClientContainer.java:640)
[java] at
org.objectweb.jonas.client.ClientContainer.start(ClientContainer.java:435)
[java] at
org.objectweb.jonas.client.ClientContainer.main(ClientContainer.java:200)
[java] </ns1:stackTrace><ns2:hostname
xmlns:ns2="http://xml.apache.org/axis/">frec445363</ns2:hostname></detail></soapenv:Fault></soapenv:Body>
[java] element = <soapenv:Fault
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>soapenv:Server.userException</faultcode><faultstring>org.xml.sax.SAXException:
Bad envelope tag:
initiateHelloWorldResponse</faultstring><detail><ns1:stackTrace
xmlns:ns1="http://xml.apache.org/axis/">org.xml.sax.SAXException: Bad
envelope tag: initiateHelloWorldResponse
[java] at
org.apache.axis.message.EnvelopeBuilder.startElement(EnvelopeBuilder.java:71)
[java] at
org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048)
[java] at
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
[java] at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
[java] at
org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown
Source)
[java] at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
[java] at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
[java] at
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[java] at
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[java] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
[java] at
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
[java] at
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
[java] at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
[java] at
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
[java] at
org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
[java] at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
[java] at org.apache.axis.client.Call.invokeEngine(Call.java:2804)
[java] at org.apache.axis.client.Call.invoke(Call.java:2767)
[java] at org.apache.axis.client.Call.invoke(Call.java:1870)
[java] at
org.apache.axis.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:90)
[java] at
com.bull.bsoap.bpel.testJBI.HttpBpel.HttpBpelClient.main(Unknown Source)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:585)
[java] at
org.objectweb.jonas.client.ClientContainer.invokeClient(ClientContainer.java:640)
[java] at
org.objectweb.jonas.client.ClientContainer.start(ClientContainer.java:435)
[java] at
org.objectweb.jonas.client.ClientContainer.main(ClientContainer.java:200)
[java] </ns1:stackTrace><ns2:hostname
xmlns:ns2="http://xml.apache.org/axis/">frec445363</ns2:hostname></detail></soapenv:Fault>
[java] Begin printNodeAsString
[java] <?xml version="1.0" encoding="UTF-8"?>
[java] <soapenv:Fault
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
[java] <faultcode/>
[java] <faultstring/>
[java] <detail>
[java] <ns1:stackTrace xmlns:ns1="http://xml.apache.org/axis/">
[java] org.xml.sax.SAXException: Bad envelope tag:
initiateHelloWorldResponse
[java] at
org.apache.axis.message.EnvelopeBuilder.startElement(EnvelopeBuilder.java:71)
[java] at
org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048)
[java] at
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
[java] at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
[java] at
org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown
Source)
[java] at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
[java] at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
[java] at
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[java] at
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[java] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
[java] at
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
[java] at
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
[java] at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
[java] at
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
[java] at
org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
[java] at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
[java] at org.apache.axis.client.Call.invokeEngine(Call.java:2804)
[java] at org.apache.axis.client.Call.invoke(Call.java:2767)
[java] at org.apache.axis.client.Call.invoke(Call.java:1870)
[java] at
org.apache.axis.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:90)
[java] at
com.bull.bsoap.bpel.testJBI.HttpBpel.HttpBpelClient.main(Unknown Source)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:585)
[java] at
org.objectweb.jonas.client.ClientContainer.invokeClient(ClientContainer.java:640)
[java] at
org.objectweb.jonas.client.ClientContainer.start(ClientContainer.java:435)
[java] at
org.objectweb.jonas.client.ClientContainer.main(ClientContainer.java:200)</ns1:stackTrace>
[java] <ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">
[java] frec445363</ns2:hostname>
[java] </detail>
[java] </soapenv:Fault>
Re: SM-http
Posted by Charles Souillard <Ch...@ext.bull.net>.
Thanks Guillaume.
That works fine.
Regards,
Charles
Guillaume Nodet wrote:
> It seems you have a problem with your http endpoint.
> If the client is an axis service you need to set the
> soap="true" attribute on the consumer <http:endpoint />
> element.
> If you use the lightweight http components, you need to
> use a soap enabled component.
>
> On 9/4/06, Charles Souillard <Ch...@ext.bull.net> wrote:
>>
>> Hi all,
>>
>> I am now able to execute complex process like a factorial service in my
>> BPEL engine.
>>
>> I am trying to correct a problem on an easy example : helloworld.
>> I have deploy a SA containig two SU : one for http and one for my BPEL
>> engine
>>
>> client --> Http --> NMR --> Orchestra (which adds Hello before the input
>> string)
>> |
>> |
>> Client <-- Http <-- NMR <--
>>
>> This is a request/response message exchange both for http and BPEL
>> engine
>> I can see the answer on the server side which is the correct one. My
>> problem is on the client side. I get an exception. I give you traces I
>> have on the server side when Orchestra replies to http and the error I
>> get on the client side.
>>
>> Thanks to traces I am not able to see that the build enveloppe is not
>> well-formed. I have not found a way to debug sm-http to log the xml
>> message sent.
>>
>> Can you give me some help ?
>>
>> Thanks
>> Charles
>>
>>
>> DEBUG - DeliveryChannelImpl - Accepting
>> ID:frec445363-32859-1157373300872-2:2 in
>> DeliveryChannel{servicemix-http}
>> DEBUG - DeliveryChannelImpl - Accepted: InOut[
>> id: ID:frec445363-32859-1157373300872-2:2
>> status: Active
>> role: consumer
>> service: {urn:helloworld:bpel:bsoap}HelloWorldServiceBP
>> endpoint: HelloWorld
>> operation: initiate
>> in: <?xml version="1.0" encoding="UTF-8"?><tns:initiateHelloWorld
>> xmlns:tns="urn:helloworld:bpel:bsoap">
>> <name>Goulven</name>
>> </tns:initiateHelloWorld>
>> out: <?xml version="1.0" encoding="UTF-8"?><initiateHelloWorldResponse
>> xmlns="urn:helloworld:bpel:bsoap"><result>Hello
>> Goulven</result></initiateHelloWorldResponse>
>> ]
>> DEBUG - HttpComponent - Received exchange: status:
>> Active, role: javax.jbi.messaging.MessageExchange$Role@13ded77
>> DEBUG - ServerManager - Dispatching job:
>> HEP@2258233[d=true,io=0,w=true,b=0|0]
>> DEBUG - DeliveryChannelImpl - Send
>> ID:frec445363-32859-1157373300872-2:2 in
>> DeliveryChannel{servicemix-http}
>> DEBUG - DeliveryChannelImpl - Sent: InOut[
>> id: ID:frec445363-32859-1157373300872-2:2
>> status: Done
>> role: consumer
>> service: {urn:helloworld:bpel:bsoap}HelloWorldServiceBP
>> endpoint: HelloWorld
>> operation: initiate
>> in: <?xml version="1.0" encoding="UTF-8"?><tns:initiateHelloWorld
>> xmlns:tns="urn:helloworld:bpel:bsoap">
>> <name>Goulven</name>
>> </tns:initiateHelloWorld>
>> out: <?xml version="1.0" encoding="UTF-8"?><initiateHelloWorldResponse
>> xmlns="urn:helloworld:bpel:bsoap"><result>Hello
>> Goulven</result></initiateHelloWorldResponse>
>> ]
>> DEBUG - SedaFlow - Called Flow send
>> DEBUG - SedaQueue -
>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@16af10 dequeued
>> exchange: InOut[
>> id: ID:frec445363-32859-1157373300872-2:2
>> status: Done
>> role: provider
>> service: {urn:helloworld:bpel:bsoap}HelloWorldServiceBP
>> endpoint: HelloWorld
>> operation: initiate
>> in: <?xml version="1.0" encoding="UTF-8"?><tns:initiateHelloWorld
>> xmlns:tns="urn:helloworld:bpel:bsoap">
>> <name>Goulven</name>
>> </tns:initiateHelloWorld>
>> out: <?xml version="1.0" encoding="UTF-8"?><initiateHelloWorldResponse
>> xmlns="urn:helloworld:bpel:bsoap"><result>Hello
>> Goulven</result></initiateHelloWorldResponse>
>> ]
>> DEBUG - DeliveryChannelImpl - Processing inbound exchange:
>> InOut[
>> id: ID:frec445363-32859-1157373300872-2:2
>> status: Done
>> role: provider
>> service: {urn:helloworld:bpel:bsoap}HelloWorldServiceBP
>> endpoint: HelloWorld
>> operation: initiate
>> in: <?xml version="1.0" encoding="UTF-8"?><tns:initiateHelloWorld
>> xmlns:tns="urn:helloworld:bpel:bsoap">
>> <name>Goulven</name>
>> </tns:initiateHelloWorld>
>> out: <?xml version="1.0" encoding="UTF-8"?><initiateHelloWorldResponse
>> xmlns="urn:helloworld:bpel:bsoap"><result>Hello
>> Goulven</result></initiateHelloWorldResponse>
>> ]
>> DEBUG - DeliveryChannelImpl - Accepting
>> ID:frec445363-32859-1157373300872-2:2 in DeliveryChannel{Orchestra}
>> DEBUG - DeliveryChannelImpl - Accepted: InOut[
>> id: ID:frec445363-32859-1157373300872-2:2
>> status: Done
>> role: provider
>> service: {urn:helloworld:bpel:bsoap}HelloWorldServiceBP
>> endpoint: HelloWorld
>> operation: initiate
>> in: <?xml version="1.0" encoding="UTF-8"?><tns:initiateHelloWorld
>> xmlns:tns="urn:helloworld:bpel:bsoap">
>> <name>Goulven</name>
>> </tns:initiateHelloWorld>
>> out: <?xml version="1.0" encoding="UTF-8"?><initiateHelloWorldResponse
>> xmlns="urn:helloworld:bpel:bsoap"><result>Hello
>> Goulven</result></initiateHelloWorldResponse>
>> ]
>> OrchestraExchangeProcessor.process, exchange = InOut[
>> id: ID:frec445363-32859-1157373300872-2:2
>> status: Done
>> role: provider
>> service: {urn:helloworld:bpel:bsoap}HelloWorldServiceBP
>> endpoint: HelloWorld
>> operation: initiate
>> in: <?xml version="1.0" encoding="UTF-8"?><tns:initiateHelloWorld
>> xmlns:tns="urn:helloworld:bpel:bsoap">
>> <name>Goulven</name>
>> </tns:initiateHelloWorld>
>> out: <?xml version="1.0" encoding="UTF-8"?><initiateHelloWorldResponse
>> xmlns="urn:helloworld:bpel:bsoap"><result>Hello
>> Goulven</result></initiateHelloWorldResponse>
>>
>>
>>
>>
>> After making the call, returnMess = org.apache.axis.Message@55a338
>> [java] body = <soapenv:Body
>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
>> "><soapenv:Fault><faultcode>soapenv:Server.userException
>> </faultcode><faultstring>org.xml.sax.SAXException:
>> Bad envelope tag:
>> initiateHelloWorldResponse</faultstring><detail><ns1:stackTrace
>> xmlns:ns1="http://xml.apache.org/axis/">org.xml.sax.SAXException: Bad
>> envelope tag: initiateHelloWorldResponse
>> [java] at
>> org.apache.axis.message.EnvelopeBuilder.startElement(EnvelopeBuilder.java
>>
>> :71)
>> [java] at
>> org.apache.axis.encoding.DeserializationContext.startElement(
>> DeserializationContext.java:1048)
>> [java] at
>> org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
>> [java] at
>> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
>> Source)
>> [java] at
>>
>> org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook
>>
>> (Unknown
>> Source)
>> [java] at
>>
>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch
>>
>> (Unknown
>> Source)
>> [java] at
>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
>>
>> Source)
>> [java] at
>> org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>> [java] at
>> org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>> [java] at org.apache.xerces.parsers.XMLParser.parse(Unknown
>> Source)
>> [java] at
>> org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>> [java] at
>> org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
>> [java] at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
>> [java] at
>> org.apache.axis.encoding.DeserializationContext.parse(
>> DeserializationContext.java:227)
>> [java] at
>> org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
>> [java] at org.apache.axis.Message.getSOAPEnvelope(Message.java
>> :435)
>> [java] at org.apache.axis.client.Call.invokeEngine(Call.java
>> :2804)
>> [java] at org.apache.axis.client.Call.invoke(Call.java:2767)
>> [java] at org.apache.axis.client.Call.invoke(Call.java:1870)
>> [java] at
>> org.apache.axis.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:90)
>> [java] at
>> com.bull.bsoap.bpel.testJBI.HttpBpel.HttpBpelClient.main(Unknown Source)
>> [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
>> Method)
>> [java] at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
>>
>> :39)
>> [java] at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(
>> DelegatingMethodAccessorImpl.java:25)
>> [java] at java.lang.reflect.Method.invoke(Method.java:585)
>> [java] at
>> org.objectweb.jonas.client.ClientContainer.invokeClient(
>> ClientContainer.java:640)
>> [java] at
>> org.objectweb.jonas.client.ClientContainer.start(ClientContainer.java:435)
>>
>> [java] at
>> org.objectweb.jonas.client.ClientContainer.main(ClientContainer.java:200)
>>
>> [java] </ns1:stackTrace><ns2:hostname
>> xmlns:ns2="http://xml.apache.org/axis/
>> ">frec445363</ns2:hostname></detail></soapenv:Fault></soapenv:Body>
>> [java] element = <soapenv:Fault
>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
>> "><faultcode>soapenv:Server.userException</faultcode><faultstring>
>> org.xml.sax.SAXException:
>> Bad envelope tag:
>> initiateHelloWorldResponse</faultstring><detail><ns1:stackTrace
>> xmlns:ns1="http://xml.apache.org/axis/">org.xml.sax.SAXException: Bad
>> envelope tag: initiateHelloWorldResponse
>> [java] at
>> org.apache.axis.message.EnvelopeBuilder.startElement(EnvelopeBuilder.java
>>
>> :71)
>> [java] at
>> org.apache.axis.encoding.DeserializationContext.startElement(
>> DeserializationContext.java:1048)
>> [java] at
>> org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
>> [java] at
>> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
>> Source)
>> [java] at
>>
>> org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook
>>
>> (Unknown
>> Source)
>> [java] at
>>
>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch
>>
>> (Unknown
>> Source)
>> [java] at
>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
>>
>> Source)
>> [java] at
>> org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>> [java] at
>> org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>> [java] at org.apache.xerces.parsers.XMLParser.parse(Unknown
>> Source)
>> [java] at
>> org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>> [java] at
>> org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
>> [java] at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
>> [java] at
>> org.apache.axis.encoding.DeserializationContext.parse(
>> DeserializationContext.java:227)
>> [java] at
>> org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
>> [java] at org.apache.axis.Message.getSOAPEnvelope(Message.java
>> :435)
>> [java] at org.apache.axis.client.Call.invokeEngine(Call.java
>> :2804)
>> [java] at org.apache.axis.client.Call.invoke(Call.java:2767)
>> [java] at org.apache.axis.client.Call.invoke(Call.java:1870)
>> [java] at
>> org.apache.axis.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:90)
>> [java] at
>> com.bull.bsoap.bpel.testJBI.HttpBpel.HttpBpelClient.main(Unknown Source)
>> [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
>> Method)
>> [java] at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
>>
>> :39)
>> [java] at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(
>> DelegatingMethodAccessorImpl.java:25)
>> [java] at java.lang.reflect.Method.invoke(Method.java:585)
>> [java] at
>> org.objectweb.jonas.client.ClientContainer.invokeClient(
>> ClientContainer.java:640)
>> [java] at
>> org.objectweb.jonas.client.ClientContainer.start(ClientContainer.java:435)
>>
>> [java] at
>> org.objectweb.jonas.client.ClientContainer.main(ClientContainer.java:200)
>>
>> [java] </ns1:stackTrace><ns2:hostname
>> xmlns:ns2="http://xml.apache.org/axis/
>> ">frec445363</ns2:hostname></detail></soapenv:Fault>
>> [java] Begin printNodeAsString
>> [java] <?xml version="1.0" encoding="UTF-8"?>
>> [java] <soapenv:Fault
>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
>> [java] <faultcode/>
>> [java] <faultstring/>
>> [java] <detail>
>> [java] <ns1:stackTrace xmlns:ns1="http://xml.apache.org/axis/">
>> [java] org.xml.sax.SAXException: Bad envelope tag:
>> initiateHelloWorldResponse
>> [java] at
>> org.apache.axis.message.EnvelopeBuilder.startElement(EnvelopeBuilder.java
>>
>> :71)
>> [java] at
>> org.apache.axis.encoding.DeserializationContext.startElement(
>> DeserializationContext.java:1048)
>> [java] at
>> org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
>> [java] at
>> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
>> Source)
>> [java] at
>>
>> org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook
>>
>> (Unknown
>> Source)
>> [java] at
>>
>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch
>>
>> (Unknown
>> Source)
>> [java] at
>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
>>
>> Source)
>> [java] at
>> org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>> [java] at
>> org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>> [java] at org.apache.xerces.parsers.XMLParser.parse(Unknown
>> Source)
>> [java] at
>> org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>> [java] at
>> org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
>> [java] at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
>> [java] at
>> org.apache.axis.encoding.DeserializationContext.parse(
>> DeserializationContext.java:227)
>> [java] at
>> org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
>> [java] at org.apache.axis.Message.getSOAPEnvelope(Message.java
>> :435)
>> [java] at org.apache.axis.client.Call.invokeEngine(Call.java
>> :2804)
>> [java] at org.apache.axis.client.Call.invoke(Call.java:2767)
>> [java] at org.apache.axis.client.Call.invoke(Call.java:1870)
>> [java] at
>> org.apache.axis.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:90)
>> [java] at
>> com.bull.bsoap.bpel.testJBI.HttpBpel.HttpBpelClient.main(Unknown Source)
>> [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
>> Method)
>> [java] at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
>>
>> :39)
>> [java] at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(
>> DelegatingMethodAccessorImpl.java:25)
>> [java] at java.lang.reflect.Method.invoke(Method.java:585)
>> [java] at
>> org.objectweb.jonas.client.ClientContainer.invokeClient(
>> ClientContainer.java:640)
>> [java] at
>> org.objectweb.jonas.client.ClientContainer.start(ClientContainer.java:435)
>>
>> [java] at
>> org.objectweb.jonas.client.ClientContainer.main(ClientContainer.java
>> :200)</ns1:stackTrace>
>> [java] <ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">
>> [java] frec445363</ns2:hostname>
>> [java] </detail>
>> [java] </soapenv:Fault>
>>
>>
>>
>
>
Re: SM-http
Posted by Guillaume Nodet <gn...@gmail.com>.
It seems you have a problem with your http endpoint.
If the client is an axis service you need to set the
soap="true" attribute on the consumer <http:endpoint />
element.
If you use the lightweight http components, you need to
use a soap enabled component.
On 9/4/06, Charles Souillard <Ch...@ext.bull.net> wrote:
>
> Hi all,
>
> I am now able to execute complex process like a factorial service in my
> BPEL engine.
>
> I am trying to correct a problem on an easy example : helloworld.
> I have deploy a SA containig two SU : one for http and one for my BPEL
> engine
>
> client --> Http --> NMR --> Orchestra (which adds Hello before the input
> string)
> |
> |
> Client <-- Http <-- NMR <--
>
> This is a request/response message exchange both for http and BPEL engine
> I can see the answer on the server side which is the correct one. My
> problem is on the client side. I get an exception. I give you traces I
> have on the server side when Orchestra replies to http and the error I
> get on the client side.
>
> Thanks to traces I am not able to see that the build enveloppe is not
> well-formed. I have not found a way to debug sm-http to log the xml
> message sent.
>
> Can you give me some help ?
>
> Thanks
> Charles
>
>
> DEBUG - DeliveryChannelImpl - Accepting
> ID:frec445363-32859-1157373300872-2:2 in DeliveryChannel{servicemix-http}
> DEBUG - DeliveryChannelImpl - Accepted: InOut[
> id: ID:frec445363-32859-1157373300872-2:2
> status: Active
> role: consumer
> service: {urn:helloworld:bpel:bsoap}HelloWorldServiceBP
> endpoint: HelloWorld
> operation: initiate
> in: <?xml version="1.0" encoding="UTF-8"?><tns:initiateHelloWorld
> xmlns:tns="urn:helloworld:bpel:bsoap">
> <name>Goulven</name>
> </tns:initiateHelloWorld>
> out: <?xml version="1.0" encoding="UTF-8"?><initiateHelloWorldResponse
> xmlns="urn:helloworld:bpel:bsoap"><result>Hello
> Goulven</result></initiateHelloWorldResponse>
> ]
> DEBUG - HttpComponent - Received exchange: status:
> Active, role: javax.jbi.messaging.MessageExchange$Role@13ded77
> DEBUG - ServerManager - Dispatching job:
> HEP@2258233[d=true,io=0,w=true,b=0|0]
> DEBUG - DeliveryChannelImpl - Send
> ID:frec445363-32859-1157373300872-2:2 in DeliveryChannel{servicemix-http}
> DEBUG - DeliveryChannelImpl - Sent: InOut[
> id: ID:frec445363-32859-1157373300872-2:2
> status: Done
> role: consumer
> service: {urn:helloworld:bpel:bsoap}HelloWorldServiceBP
> endpoint: HelloWorld
> operation: initiate
> in: <?xml version="1.0" encoding="UTF-8"?><tns:initiateHelloWorld
> xmlns:tns="urn:helloworld:bpel:bsoap">
> <name>Goulven</name>
> </tns:initiateHelloWorld>
> out: <?xml version="1.0" encoding="UTF-8"?><initiateHelloWorldResponse
> xmlns="urn:helloworld:bpel:bsoap"><result>Hello
> Goulven</result></initiateHelloWorldResponse>
> ]
> DEBUG - SedaFlow - Called Flow send
> DEBUG - SedaQueue -
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@16af10 dequeued
> exchange: InOut[
> id: ID:frec445363-32859-1157373300872-2:2
> status: Done
> role: provider
> service: {urn:helloworld:bpel:bsoap}HelloWorldServiceBP
> endpoint: HelloWorld
> operation: initiate
> in: <?xml version="1.0" encoding="UTF-8"?><tns:initiateHelloWorld
> xmlns:tns="urn:helloworld:bpel:bsoap">
> <name>Goulven</name>
> </tns:initiateHelloWorld>
> out: <?xml version="1.0" encoding="UTF-8"?><initiateHelloWorldResponse
> xmlns="urn:helloworld:bpel:bsoap"><result>Hello
> Goulven</result></initiateHelloWorldResponse>
> ]
> DEBUG - DeliveryChannelImpl - Processing inbound exchange:
> InOut[
> id: ID:frec445363-32859-1157373300872-2:2
> status: Done
> role: provider
> service: {urn:helloworld:bpel:bsoap}HelloWorldServiceBP
> endpoint: HelloWorld
> operation: initiate
> in: <?xml version="1.0" encoding="UTF-8"?><tns:initiateHelloWorld
> xmlns:tns="urn:helloworld:bpel:bsoap">
> <name>Goulven</name>
> </tns:initiateHelloWorld>
> out: <?xml version="1.0" encoding="UTF-8"?><initiateHelloWorldResponse
> xmlns="urn:helloworld:bpel:bsoap"><result>Hello
> Goulven</result></initiateHelloWorldResponse>
> ]
> DEBUG - DeliveryChannelImpl - Accepting
> ID:frec445363-32859-1157373300872-2:2 in DeliveryChannel{Orchestra}
> DEBUG - DeliveryChannelImpl - Accepted: InOut[
> id: ID:frec445363-32859-1157373300872-2:2
> status: Done
> role: provider
> service: {urn:helloworld:bpel:bsoap}HelloWorldServiceBP
> endpoint: HelloWorld
> operation: initiate
> in: <?xml version="1.0" encoding="UTF-8"?><tns:initiateHelloWorld
> xmlns:tns="urn:helloworld:bpel:bsoap">
> <name>Goulven</name>
> </tns:initiateHelloWorld>
> out: <?xml version="1.0" encoding="UTF-8"?><initiateHelloWorldResponse
> xmlns="urn:helloworld:bpel:bsoap"><result>Hello
> Goulven</result></initiateHelloWorldResponse>
> ]
> OrchestraExchangeProcessor.process, exchange = InOut[
> id: ID:frec445363-32859-1157373300872-2:2
> status: Done
> role: provider
> service: {urn:helloworld:bpel:bsoap}HelloWorldServiceBP
> endpoint: HelloWorld
> operation: initiate
> in: <?xml version="1.0" encoding="UTF-8"?><tns:initiateHelloWorld
> xmlns:tns="urn:helloworld:bpel:bsoap">
> <name>Goulven</name>
> </tns:initiateHelloWorld>
> out: <?xml version="1.0" encoding="UTF-8"?><initiateHelloWorldResponse
> xmlns="urn:helloworld:bpel:bsoap"><result>Hello
> Goulven</result></initiateHelloWorldResponse>
>
>
>
>
> After making the call, returnMess = org.apache.axis.Message@55a338
> [java] body = <soapenv:Body
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> "><soapenv:Fault><faultcode>soapenv:Server.userException
> </faultcode><faultstring>org.xml.sax.SAXException:
> Bad envelope tag:
> initiateHelloWorldResponse</faultstring><detail><ns1:stackTrace
> xmlns:ns1="http://xml.apache.org/axis/">org.xml.sax.SAXException: Bad
> envelope tag: initiateHelloWorldResponse
> [java] at
> org.apache.axis.message.EnvelopeBuilder.startElement(EnvelopeBuilder.java
> :71)
> [java] at
> org.apache.axis.encoding.DeserializationContext.startElement(
> DeserializationContext.java:1048)
> [java] at
> org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
> [java] at
> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
> Source)
> [java] at
>
> org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook
> (Unknown
> Source)
> [java] at
>
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch
> (Unknown
> Source)
> [java] at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> Source)
> [java] at
> org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> [java] at
> org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> [java] at org.apache.xerces.parsers.XMLParser.parse(Unknown
> Source)
> [java] at
> org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
> [java] at
> org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
> [java] at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
> [java] at
> org.apache.axis.encoding.DeserializationContext.parse(
> DeserializationContext.java:227)
> [java] at
> org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
> [java] at org.apache.axis.Message.getSOAPEnvelope(Message.java
> :435)
> [java] at org.apache.axis.client.Call.invokeEngine(Call.java
> :2804)
> [java] at org.apache.axis.client.Call.invoke(Call.java:2767)
> [java] at org.apache.axis.client.Call.invoke(Call.java:1870)
> [java] at
> org.apache.axis.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:90)
> [java] at
> com.bull.bsoap.bpel.testJBI.HttpBpel.HttpBpelClient.main(Unknown Source)
> [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> [java] at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
> :39)
> [java] at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
> [java] at java.lang.reflect.Method.invoke(Method.java:585)
> [java] at
> org.objectweb.jonas.client.ClientContainer.invokeClient(
> ClientContainer.java:640)
> [java] at
> org.objectweb.jonas.client.ClientContainer.start(ClientContainer.java:435)
> [java] at
> org.objectweb.jonas.client.ClientContainer.main(ClientContainer.java:200)
> [java] </ns1:stackTrace><ns2:hostname
> xmlns:ns2="http://xml.apache.org/axis/
> ">frec445363</ns2:hostname></detail></soapenv:Fault></soapenv:Body>
> [java] element = <soapenv:Fault
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> "><faultcode>soapenv:Server.userException</faultcode><faultstring>
> org.xml.sax.SAXException:
> Bad envelope tag:
> initiateHelloWorldResponse</faultstring><detail><ns1:stackTrace
> xmlns:ns1="http://xml.apache.org/axis/">org.xml.sax.SAXException: Bad
> envelope tag: initiateHelloWorldResponse
> [java] at
> org.apache.axis.message.EnvelopeBuilder.startElement(EnvelopeBuilder.java
> :71)
> [java] at
> org.apache.axis.encoding.DeserializationContext.startElement(
> DeserializationContext.java:1048)
> [java] at
> org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
> [java] at
> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
> Source)
> [java] at
>
> org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook
> (Unknown
> Source)
> [java] at
>
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch
> (Unknown
> Source)
> [java] at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> Source)
> [java] at
> org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> [java] at
> org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> [java] at org.apache.xerces.parsers.XMLParser.parse(Unknown
> Source)
> [java] at
> org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
> [java] at
> org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
> [java] at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
> [java] at
> org.apache.axis.encoding.DeserializationContext.parse(
> DeserializationContext.java:227)
> [java] at
> org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
> [java] at org.apache.axis.Message.getSOAPEnvelope(Message.java
> :435)
> [java] at org.apache.axis.client.Call.invokeEngine(Call.java
> :2804)
> [java] at org.apache.axis.client.Call.invoke(Call.java:2767)
> [java] at org.apache.axis.client.Call.invoke(Call.java:1870)
> [java] at
> org.apache.axis.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:90)
> [java] at
> com.bull.bsoap.bpel.testJBI.HttpBpel.HttpBpelClient.main(Unknown Source)
> [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> [java] at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
> :39)
> [java] at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
> [java] at java.lang.reflect.Method.invoke(Method.java:585)
> [java] at
> org.objectweb.jonas.client.ClientContainer.invokeClient(
> ClientContainer.java:640)
> [java] at
> org.objectweb.jonas.client.ClientContainer.start(ClientContainer.java:435)
> [java] at
> org.objectweb.jonas.client.ClientContainer.main(ClientContainer.java:200)
> [java] </ns1:stackTrace><ns2:hostname
> xmlns:ns2="http://xml.apache.org/axis/
> ">frec445363</ns2:hostname></detail></soapenv:Fault>
> [java] Begin printNodeAsString
> [java] <?xml version="1.0" encoding="UTF-8"?>
> [java] <soapenv:Fault
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> [java] <faultcode/>
> [java] <faultstring/>
> [java] <detail>
> [java] <ns1:stackTrace xmlns:ns1="http://xml.apache.org/axis/">
> [java] org.xml.sax.SAXException: Bad envelope tag:
> initiateHelloWorldResponse
> [java] at
> org.apache.axis.message.EnvelopeBuilder.startElement(EnvelopeBuilder.java
> :71)
> [java] at
> org.apache.axis.encoding.DeserializationContext.startElement(
> DeserializationContext.java:1048)
> [java] at
> org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
> [java] at
> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
> Source)
> [java] at
>
> org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook
> (Unknown
> Source)
> [java] at
>
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch
> (Unknown
> Source)
> [java] at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> Source)
> [java] at
> org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> [java] at
> org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> [java] at org.apache.xerces.parsers.XMLParser.parse(Unknown
> Source)
> [java] at
> org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
> [java] at
> org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
> [java] at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
> [java] at
> org.apache.axis.encoding.DeserializationContext.parse(
> DeserializationContext.java:227)
> [java] at
> org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
> [java] at org.apache.axis.Message.getSOAPEnvelope(Message.java
> :435)
> [java] at org.apache.axis.client.Call.invokeEngine(Call.java
> :2804)
> [java] at org.apache.axis.client.Call.invoke(Call.java:2767)
> [java] at org.apache.axis.client.Call.invoke(Call.java:1870)
> [java] at
> org.apache.axis.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:90)
> [java] at
> com.bull.bsoap.bpel.testJBI.HttpBpel.HttpBpelClient.main(Unknown Source)
> [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> [java] at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
> :39)
> [java] at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
> [java] at java.lang.reflect.Method.invoke(Method.java:585)
> [java] at
> org.objectweb.jonas.client.ClientContainer.invokeClient(
> ClientContainer.java:640)
> [java] at
> org.objectweb.jonas.client.ClientContainer.start(ClientContainer.java:435)
> [java] at
> org.objectweb.jonas.client.ClientContainer.main(ClientContainer.java
> :200)</ns1:stackTrace>
> [java] <ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">
> [java] frec445363</ns2:hostname>
> [java] </detail>
> [java] </soapenv:Fault>
>
>
>
--
Cheers,
Guillaume Nodet