Can you check against the WSDL for the jsr181 endpoint ?
You should be able to access it from jconsole by looking at the http endpoint
in your browser.  It should defines the format of the expected data.

On Thu, Feb 21, 2008 at 4:27 PM, Roland Sperl
<[EMAIL PROTECTED]> wrote:
> Hi All!
>
>  I deployed a simple Pojo into the JSR181 with the following Interface:
>
>  public String transform(String fromAccountId, String toAccount, String
>  amount);
>
>  I have build a html-client which calls the Pojo with the following
>  SOAP-Call:
>
>  <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/";
>                 xmlns:n1="java:de.metafinanz.sca.BankTransaction"
>
>  xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
>                 xmlns:xsd="http://www.w3.org/2001/XMLSchema";
>                 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>
>  xmlns:transactionRequest="http://www.metafinanz.org/transform/";
>                 xsi:type="n1:TransactionRequest">
>
>   <env:Body>
>         <transactionRequest:transform>
>                 <in0>1</in0>
>                 <in1>2</in1>
>                 <in2>100</in2>
>         </transactionRequest:transform>
>   </env:Body>
>
>  </env:Envelope>
>
>  I thought that the values in the parameters would be automatically set
>  into my pojo parameters, but I get the exception:
>
>  org.codehaus.xfire.fault.XFireFault: Not enough message parts were
>  received for the operation.
>         at org.codehaus.xfire.service.binding.ServiceInvocationHandler
>  ...
>
>  If I put 5 parameters between the <transactionRequest:transform> tag the
>  values are passed to my pojo. But in an confusing way, the 1st, 3rd and
>  5th value are passed to my pojo.
>
>  Can anyone help me?
>
>  Thanks in advance
>  Roland
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Reply via email to