I forgot to cc kepler-users.

-------- Original Message --------

Hi Simon,

The WSWithComplexTypes actor should read your manually formatted
string if the inputMechanism is set to "simple".

You can get the source by:

mkdir kepler.modules
cd kepler.modules
svn co http://code.kepler-project.org/code/kepler/trunk/modules/build-area
cd build-area
ant change-to -Dsuite=kepler

The web service actors are in kepler.modules/actors/src/org/sdm/spa/.

  --dan


On 6/20/11 9:16 PM, Simon Collins wrote:
Hi,

Im currently attempting to access a web service via wsdl i have setup
(attached is the wsdl served to clients that query ?wsdl).

I can format a string "manually" for testing that adheres to the required
response format, however when it is passed into the WebServices actor, all
the XML gets escaped by the actor, ive tried escaping the XML symbols myself
(hoping it might escape the escapes) but i still end up getting a mangled
message on the server side.

I also tried using the complex type option for the WSWithComplexTypes actor,
and unfortunately despite playing around with different settings and
arrangements, i always end up with the server receiving
"<parameters></parameters>" as the response payload, ie. its like the
complex types are ignored/discarded.

So i have 2 questions for how i might move forward on this:

1. is there a way to deliver an XML payload as-is via any actor that then
delivers the payload as a http post to a specified endpoint? (this might be
a web service actor that wraps the payload as appropriate to the parsed
wsdl, or perhaps a more raw http comms actor that might require more
explicit post content construction).

2. is it reasonably straight forward to grab the source for the project and
edit the webservices actor to allow a user option for delivering a
non-escaped XML payload, or perhaps looking at WSWithComplexTypes actor and
exploring (fixing?) its behaviour.

Cheers,

Simon




_______________________________________________
Kepler-users mailing list
Kepler-users@kepler-project.org
http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users

_______________________________________________
Kepler-users mailing list
Kepler-users@kepler-project.org
http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users

Reply via email to