This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Web Services and the fly likes invoke remote webservice  APACHE ODE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Web Services
Bookmark "invoke remote webservice  APACHE ODE" Watch "invoke remote webservice  APACHE ODE" New topic

invoke remote webservice APACHE ODE

Y Rach

Joined: Mar 29, 2011
Posts: 9
I created a project for example project HelloWorld2(ODE examples).
I try to invoke remote webservice on my machine.
It's wsdl and xsd files i added to HelloWorld2 project folder.

To remote webservice wsdl i added this code to invoke it's service


<plnk:partnerLinkType name="sbmadminservices72PartnerLinkType">
<plnk:role name="sbmadminservices72Provider" portType="tns:sbmadminservices72PortType"/>

and this code to main bpel file

<import location="sbmadminservices72.wsdl"
importType="" />



<partnerLink name="sbmadminservices72PartnerLink"
myRole="sbmadminservices72Provider" />


There is no errors while deploying at ode log file ( i have switched log level to TRACE)

But when i using SopaUI to post request to this project end-point ...I received an error

<faultstring>The service cannot be found for the endpoint reference (EPR) http://localhost:8080/ode/processes/helloWorld</faultstring>;
<Exception>org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) http://localhost:8080/ode/processes/helloWorld

Where was my mistake ?

this is my project ->>>>>>>>>DOWNLOAD
Ravinderjit Singh
Ranch Hand

Joined: Jan 13, 2010
Posts: 78
ODE is unable to find the wsdl.

check if you can see the wsdl at this address?

Y Rach

Joined: Mar 29, 2011
Posts: 9
Thanks, I already found the problem.

It was that...ode compile deployed project only the first meeting of a new project.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: invoke remote webservice APACHE ODE
jQuery in Action, 3rd edition