Win a copy of Terraform in Action this week in the Cloud forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

invoke remote webservice APACHE ODE

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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

<WSDL:definitions
...
xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype">

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

and this code to main bpel file

<import location="sbmadminservices72.wsdl"
namespace="http://localhost:80/gsoap/sbmadminservices72.wsdl"
importType="http://schemas.xmlsoap.org/wsdl/" />


<partnerLinks>

...

<partnerLink name="sbmadminservices72PartnerLink"
partnerLinkType="test2:sbmadminservices72PartnerLinkType"
myRole="sbmadminservices72Provider" />

</partnerLinks>


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

<faultcode>soapenv:Client</faultcode>
<faultstring>The service cannot be found for the endpoint reference (EPR) http://localhost:8080/ode/processes/helloWorld</faultstring>;
<detail>
<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
 
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ODE is unable to find the wsdl.

check if you can see the wsdl at this address?

http://localhost:8080/ode/processes/helloWorld?wsdl
 
Y Rach
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks, I already found the problem.

It was that...ode compile deployed project only once...at the first meeting of a new project.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic