Several BPs, implementing WS in one DP

Hi all!

I am using JCAPS 5.1.1 and unsuccessfully trying to deploy two

business processes, which implement web services in one deployment

profile.

To do that I created a WSD, which defines one PortType with two

operations. Then I created the BPs, implementing those operations.

Next I created a connectivity map with one Web Service Application and

I map PortTypes from implemented services of both BPS into this WS

Application. When I create a DP and map everything to environment,

build and deploy everything, it goes well. But when I try to access

the web services, one of them works ok, but the other one always

returns with the following error (envelope cut):

<env:Body>

<env:Fault>

<faultcode>env:Server</faultcode>

<faultstring>Internal server runtime exception</faultstring>

<detail>

<ans1:SOAPFaultMessage

xmlns="http://seebeyond/com/xsddefined/FaultMessages"

xmlns:ans1="http://seebeyond/com/xsddefined/FaultMessages">

<ans1:Fault>

<faultcode xmlns="">SERVER_ERROR</faultcode>

<faultstring xmlns="">root

cause:java.lang.IllegalStateException: Unexceptednull value, wsMsg is

null and the associated Fault container is not available</faultstring>

<faultactor xmlns="">wsserver</faultactor>

<detail xmlns="">root cause:java.lang.IllegalStateException:

Unexceptednull value, wsMsg isnull and the associated Fault

container is not available</detail>

</ans1:Fault>

</ans1:SOAPFaultMessage>

</detail>

</env:Fault>

</env:Body>

When deployed separately, both BPs work as expected. I also tried

creating two CMs and deploying them in one DP, same effect.

I feel like I am doing something stupid, because I really need both

those BPs deployed as WS under one context and this just got to work...

Any suggestions?

Thanks in advance!

[2394 byte] By [sand123] at [2007-11-26 10:37:21]
# 1

If you want to implement two operations of a single web service, you have to implement these in a single business process. This single business process can then call your two business processes as sub-processes or you could put all the logic in the single business process.

If you want to have two business processes deployed then each must implement a separate web service, otherwise they both try to deploy a servlet under the same URL and this will not work.

To implement two operations of a single web service in a business process you must start the business process with an Event Based decision and each operation will be a different message event of the event based decision.

Regards,

Frederik

Frederik@NL at 2007-7-7 2:48:21 > top of Java-index,Java Enterprise System,Java Composite Application Platform Suite -- General Discussion...
# 2
Thank you Frederik for your reply! Your solution worked for me. Dragging web service operation onto a small circle Message Event was a tricky part :)
sand123 at 2007-7-7 2:48:21 > top of Java-index,Java Enterprise System,Java Composite Application Platform Suite -- General Discussion...