[jboss-user] [JBoss jBPM] - Problems with WSDL for incoming asyncronous request in BPEL
conoroneill
do-not-reply at jboss.com
Fri Apr 18 05:10:19 EDT 2008
I'm trying to write a BPEL process which receives callbacks from a third-party service. I can successfully invoke synchronous calls to/from that service. It has published a separate WSDL for its callbacks. I have (after some problems) managed to get jBPM to use this WSDL and it can successfully wait for and accept the incoming requests. However, if I try to inspect any of the incoming message data, no matter what I try, I'm getting an uninitialised variable error.
The message definition in the WSDL is element style; it looks like:
< message name="ImportCompleteEventIn" >
< part name="in" element="store-types:ImportCompleteEvent"/ >
< /message >
The variable definition looks like this:
< bpws:variable messageType="scwsdl:ImportCompleteEventIn" name="storeCallbackImportCompleteVar" />
The receive:
< bpws:receive partnerLink="StoreCallbackPL" operation="ImportCompleteEvent" variable="storeCallbackImportCompleteVar" />
Has anyone seen this before? Any suggestions? I can't publish the entire 3rd-party WSDL here.
I have also tried using both a < receive > and a < pick >< onMessage > structure, and they both exhibit the same problems.
However, this might be caused by some other jax-rpc problem. When I deploy this BPEL process, I get these messages appearing on the JBoss stdout:
09:48:27,612 WARN [builder.jaxrpc.JAXRPCMetaDataBuilder] Cannot obtain java type mapping for: {http://www.w3.org/2001/XMLSchema}string
09:48:27,737 INFO [STDOUT] no object for {http://schemas.xmlsoap.org/ws/2004/08/addressing}ReplyAfterType
09:48:27,737 INFO [STDOUT] no object for {http://schemas.xmlsoap.org/ws/2004/08/addressing}AttributedQName
09:48:27,737 INFO [STDOUT] no object for {http://schemas.xmlsoap.org/ws/2004/08/addressing}AttributedURI
...
I also get similar messages for some of the elements defined in my 3rd-party schema.
Many thanks for any help you can give.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145094#4145094
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145094
More information about the jboss-user
mailing list