You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by Manindra ku mallick <mk...@nic.in> on 2008/12/08 05:32:10 UTC
ODE-with-webservices
hello sir,
i am useing ODE1.2.war(servlet container).sir can i use ODE for calling external web services,that ws
running on different IP & server?then How i do useing AXIS2 IL?any examples?
thank u sir
ODE-with-external-webservices
Posted by Manindra ku mallick <mk...@nic.in>.
hello sir,
thanks for your replay
according to u all my setting are correct(SOAP address),making bpel,calling external service all are
fine,also deploy properly in ODE(hot deployment process),but when i test,it showing error
DEBUG - GeronimoLog.debug(66) | The system is checking for the operation using the following
WSAAction:
DEBUG - GeronimoLog.debug(66) | Checking for Operation using SOAP message body's first child's
local name : newWSDLOperation
DEBUG - GeronimoLog.debug(66) | Found operation
org.apache.axis2.description.InOutAxisOperation@5ee6a6
DEBUG - GeronimoLog.debug(66) | Found a header in incoming message, checking if there are
endpoints there.
DEBUG - GeronimoLog.debug(66) | Received request message for myextservice.
{http://j2ee.netbeans.org/wsdl/newWSDL}newWSDLOperation
DEBUG - GeronimoLog.debug(66) | Starting transaction.
DEBUG - GeronimoLog.debug(66) | Routed: svcQname
{http://j2ee.netbeans.org/wsdl/newWSDL}newWSDLService -->
BpelProcess[{http://enterprise.netbeans.org/bpel/Test/newProcess}newProcess-3]
DEBUG - GeronimoLog.debug(66) | ODE routed to operation Operation: name=newWSDLOperation
style=REQUEST_RESPONSE,1
Input: name=input1
Message: name={http://j2ee.netbeans.org/wsdl/newWSDL}newWSDLOperationRequest
Part: name=part1
typeName={http://www.w3.org/2001/XMLSchema}string
Output: name=output1
Message: name={http://j2ee.netbeans.org/wsdl/newWSDL}newWSDLOperationResponse
Part: name=part2
typeName={http://www.w3.org/2001/XMLSchema}string from service
{http://j2ee.netbeans.org/wsdl/newWSDL}newWSDLService
DEBUG - GeronimoLog.debug(66) | Invoking ODE using MEX {MyRoleMex#hqejbhcnphr3tbej45xd99
[Client hqejbhcnphr3tbej45xd98] calling
{http://j2ee.netbeans.org/wsdl/newWSDL}newWSDLService.newWSDLOperation(...)}
DEBUG - GeronimoLog.debug(66) | Message content: <?xml version="1.0" encoding="UTF-8"?>
<message><part1 xmlns:new="http://j2ee.netbeans.org/wsdl/newWSDL"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">r11</part1></message>
DEBUG - GeronimoLog.debug(66) | Routed: svcQname
{http://j2ee.netbeans.org/wsdl/newWSDL}newWSDLService -->
BpelProcess[{http://enterprise.netbeans.org/bpel/Test/newProcess}newProcess-3]
DEBUG - GeronimoLog.debug(66) | invoke() EPR= null ==>
BpelProcess[{http://enterprise.netbeans.org/bpel/Test/newProcess}newProcess-3]
DEBUG - GeronimoLog.debug(66) | Commiting ODE MEX {MyRoleMex#hqejbhcnphr3tbej45xd99
[Client hqejbhcnphr3tbej45xd98] calling
{http://j2ee.netbeans.org/wsdl/newWSDL}newWSDLService.newWSDLOperation(...)}
DEBUG - GeronimoLog.debug(66) | Commiting transaction.
DEBUG - GeronimoLog.debug(66) | >>
handleWorkEvent(jobData={mexid=hqejbhcnphr3tbej45xd99,
pid={http://enterprise.netbeans.org/bpel/Test/newProcess}newProcess-3,
type=INVOKE_INTERNAL})
DEBUG - GeronimoLog.debug(66) | InvokeInternal event for mexid hqejbhcnphr3tbej45xd99
DEBUG - GeronimoLog.debug(66) | GET MEX property org.apache.ode.bpel.myRoleSessionId = null
DEBUG - GeronimoLog.debug(66) | GET MEX property org.apache.ode.bpel.myRoleSessionId = null
DEBUG - GeronimoLog.debug(66) | GET MEX property org.apache.ode.bpel.partnerRoleSessionId =
null
DEBUG - GeronimoLog.debug(66) | INPUTMSG: 20.newWSDLOperation: MSG RCVD keys=[]
mySessionId=null partnerSessionId=null
DEBUG - GeronimoLog.debug(66) | INPUTMSG: 20.newWSDLOperation: routing failed, CREATING
NEW INSTANCE
DEBUG - GeronimoLog.debug(66) | BpelRuntimeContextImpl created for instance 901. INDEXED
STATE={}
DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: USING CORRELATOR
20.newWSDLOperation
DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: CHECKING for NEW
INSTANCE match
DEBUG - GeronimoLog.debug(66) | INPUTMSGMATCH: Changing process instance state from ready
to active
DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: FOUND match for NEW
instance mexRef={MyRoleMex#hqejbhcnphr3tbej45xd99 [Client hqejbhcnphr3tbej45xd98] calling
{http://j2ee.netbeans.org/wsdl/newWSDL}newWSDLService.newWSDLOperation(...)}
.........................
ERROR - GeronimoLog.error(104) | Assignment Fault:
{http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure,lineNo=26,faultExplanation=No
results for expression: {OXPath10Expression $GetmarkIn.parameters/ns0:regno}
..................................
DEBUG - GeronimoLog.debug(66) | ProcessImpl completed with
fault '{http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure'
DEBUG - GeronimoLog.debug(66) | Processing an async reply from service
{http://j2ee.netbeans.org/wsdl/newWSDL}newWSDLService
DEBUG - GeronimoLog.debug(66) | Received myrole mex response callback
DEBUG - GeronimoLog.debug(66) | Handling response for MEX
{MyRoleMex#hqejbhcnphr3tbej45xd99 [Client hqejbhcnphr3tbej45xd98] calling
{http://j2ee.netbeans.org/wsdl/newWSDL}newWSDLService.newWSDLOperation(...)}
DEBUG - GeronimoLog.debug(66) | Starting transaction.
DEBUG - GeronimoLog.debug(66) | Fault response message:
{http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure
DEBUG - GeronimoLog.debug(66) | Returning fault: <?xml version='1.0'
encoding='utf-8'?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server</faultcode><faultstring
xmlns:axis2ns1="http://docs.oasis-open.org/wsbpel/2.0/process/executable">axis2ns1:selectionFailure</faultstring><detail /></soapenv:Fault></soapenv:Body></soapenv:Envelope>
DEBUG - GeronimoLog.debug(66) | Releasing mex hqejbhcnphr3tbej45xd99
DEBUG - GeronimoLog.debug(66) | Comitting transaction.
DEBUG - GeronimoLog.debug(66) | Reply for myextservice.
{http://j2ee.netbeans.org/wsdl/newWSDL}newWSDLOperation
DEBUG - GeronimoLog.debug(66) | Reply message <?xml version='1.0'
encoding='utf-8'?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server</faultcode><faultstring
xmlns:axis2ns1="http://docs.oasis-open.org/wsbpel/2.0/process/executable">axis2ns1:selectionFailure</faultstring><detail /></soapenv:Fault></soapenv:Body></soapenv:Envelope>
sir,
is it schema definition error,then how to create local schema that match with that schema using by
external service,
sir please help me
thanks
Re: ODE-with-webservices
Posted by Matthieu Riou <ma...@offthelip.org>.
On Sun, Dec 7, 2008 at 8:32 PM, Manindra ku mallick <mk...@nic.in>wrote:
> hello sir,
>
> i am useing ODE1.2.war(servlet container).sir can i use ODE for calling
> external web services,that ws
> running on different IP & server?then How i do useing AXIS2 IL?any
> examples?
>
Sure, you just need to set the SOAP location of the WSDL service you're
invoking to the correct server/port. I don't have any example handy but it's
fairly straightforward once you have local invocation working.
Cheers,
Matthieu
>
> thank u sir
>