Hi,
I just spent the last 9 hours to make my example deployed.
Here is my .bpel
A very simple process as you can see!
Here is the problem: if I use
|
| <?xml version="1.0" encoding="UTF-8"?>
| <process name="testa"
targetNamespace="http://enterprise.netbeans.org/bpel/testa"
|
xmlns="http://schemas.xmlsoap.org/ws/2004/03/business-process/"
|
xmlns:tns="http://enterprise.netbeans.org/bpel/testa"
|
xmlns:bpws="http://schemas.xmlsoap.org/ws/2004/03/business-process/&...
| xmlns:ns1="http://localhost:8080/openspcoop/PD/GetDate"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xsi:schemaLocation="http://schemas.xmlsoap.org/ws/2003/03/business-p...
|
http://schemas.xmlsoap.org/ws/2003/03/business-process/">
|
| <partnerLinks>
| <!-- relationship with the ATM -->
| <partnerLink name="LinkPL" partnerLinkType="tns:LinkPLT"
myRole="ProcessRole" />
| <!-- No more -->
| </partnerLinks>
|
| <variables>
| <variable name="Output"
messageType="ns1:OpenSPCoop_PDResponse" />
| <variable name="Input"
messageType="ns1:OpenSPCoop_PDRequest" />
| </variables>
|
|
| <sequence>
| <receive operation="OpenSPCoop_PD" partnerLink="LinkPL"
portType="ns1:RicezioneContenutiApplicativiWS" variable="Input"
createInstance="yes" />
| <reply operation="OpenSPCoop_PD" partnerLink="LinkPL"
portType="ns1:RicezioneContenutiApplicativiWS" variable="Output"
/>
| </sequence>
|
| </process>
|
|
A very simple process: 1 partner link, a receive and a reply without logic, 2 variables to
store run-time calls.
But here is a problem: if I use
xmlns:bpws="http://schemas.xmlsoap.org/ws/2004/03/business-process/&...
it is possible to complete the deploy
(However when I test it, I got an Error of NullPointerException in server log, and the
cause is that the partnerLinkEntry is null , then it is impossible to get its ID
java.lang.NullPointerException
at org.jbpm.bpel.integration.server.SoapHandler.sendRequest(SoapHandler.java:324)
at
org.jbpm.bpel.integration.server.SoapHandler.handleRequest(SoapHandler.java:188)
at org.jboss.ws.handler.HandlerWrapper.handleRequest(HandlerWrapper.java:121)
)
If I change that namespace with
xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/&...
I can't execute the ant generate-service task.
How can I get a full working process?
Thanks to everybody!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094265#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...