Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link

Y Rach

Greenhorn
+ Follow
since Mar 29, 2011
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Y Rach

I'm calling external web service with axis2.
And I want to discard response message if its size(content of the incoming InputStream) large than N bytes.

First idea was to add custom handler to the <phaseOrder type="InFlow">.
But after debugging it looks for me like response's InputStream was already read and converted to SoapEnvelope.

Is there any other way to do that ? To read incoming InputStream before any Axis2's manipulation with it and if its content length larger than N bytes- discard response.

Another idea is to create my custom Message Builder

Thanks for any reply.
9 years ago
I have *-ds.xml .
There are defined connection properties there.
One of them is <security-domain>some-domain</security-domain>.
This option is placed in the other conf file.

But the question is :
How can I create Datasource object from this file ?

I can't find some simple way by googling..such as *.load(xml).

Thanks !



webpage

useful link fo topic
11 years ago
Can't find any examples =(

How i can count the number of array elements ?

I have my type at the wsdl



and i have variable



how can I get the number of elements in the array?
11 years ago
Yes I meant BPEL4WS 1.0 or 1.1.
Thanks for the link, I'll analyze it.
11 years ago

Ulf Dittmer wrote:ODE comes with a few example services. One in particular -named "HelloWorld2"- looks pretty basic; is that not what you're looking for?



There are 3 examples,and they all using bpel 2.
But I need bpel_1 !
11 years ago
Share please some simple bpel_1 project.
Like HelloWorld.

Important -----> bpel 1

Thanks!
11 years ago
Thanks, I already found the problem.

It was that...ode compile deployed project only once...at the first meeting of a new project.
11 years ago
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
11 years ago