Hi

Hey my input request looks like this:

<?xml version='1.0' encoding='utf-8'?><S:Envelope
xmlns:S="http://schemas.xmlsoap.org/soap/envelope/";><S:Body><ns2:processProspectDetails
xmlns:ns2="http://BusinessSchoolService/";><processstring>&lt;?xml
version="1.0" encoding="UTF-8"?>&#xd;
&lt;prospect>&#xd;
    &lt;Name> zxcz&lt;/Name>&#xd;
    &lt;Age>2q&lt;/Age>&#xd;
    &lt;Address>sada&lt;/Address>&#xd;
    &lt;SSN>dasdadA&lt;/SSN>&#xd;
    &lt;Program>Law&lt;/Program>&#xd;
&lt;/prospect>&#xd;
</processstring></ns2:processProspectDetails></S:Body></S:Envelope>


and if i am doing mc.geypayloadxml() in source element of switch case , i am
getting the following error 
error
org.jaxen.UnresolvableException: No Such Function mc.getPayloadXML

Can i directly check for law somehow in the input request?


Asankha C. Perera wrote:
> 
> 
>> One more thing , can I write a direct Xpath query on my input string to
>> get
>> the valuer of program?
>>   
> that depends on whether your payload is read as XML.. is it possible to 
> get a TCPDump trace of the request reaching Synapse?
> 
> cheers
> asankha
> 
> -- 
> Asankha C. Perera
> http://adroitlogic.org
> 
> http://esbmagic.blogspot.com
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Invoking-Synapse-from-Non-Axis-2-Client-tp21970007p22074421.html
Sent from the Synapse - User mailing list archive at Nabble.com.

Reply via email to