wsdl - wso2 - esb payloadfactory - get inner element -


i have input:

<request>    <element1>         <field1>text1</field1    </element1>    <element2>         <field2>text1</field2>    </element2> </request> 

what i've done is:

<payloadfactory media-type="xml">     <format>         <soapenv:envelope xmlns:req="http://request.com" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">             <soapenv:header/>             <soapenv:body>                 <req:myrequest>                     <req:myelement1>$1</req:myelement1>                     <req:myelement2>$2</req:myelement2>                 </rqe:myrequest>             </soapenv:body>         </soapenv:envelope>     </format>     <args>         <arg evaluator="xml" expression="//req:request/req:element1/req1:field1"              xmlns:req="http://request.com/" xmlns:ns="http://org.apache.synapse/xsd"/>         <arg evaluator="xml"              expression="//req:request/req:element2/req1:field2"              xmlns:req="http://request.com/" xmlns:ns="http://org.apache.synapse/xsd"/>     </args> </payloadfactory> 

i tried on esb i've error

the system cannot infer transport information /services/

my question is: how can put deeper element "field1" myelement1 ?

thanks in advance

br claudio

while searching on error have found blog post saying how handle error got.

http://charithaka.blogspot.com/2014/02/common-mistakes-to-avoid-in-wso2-esb-1.html

please try out these solutions.


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -