You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by a139245 <ya...@tcs.com> on 2007/07/11 08:38:40 UTC

SOAP/XML-RPC Data - Image in Bytes

Hi...
I have a problem while sending the image in bytes through SOAP/XML-RPC Data
in JMeter.
I am getting the following error.

Can anyone has the solution Kindly share with me..

Thanks...

This is the error i am getting ...

env:Server  Exception during processing: java.lang.IllegalArgumentException:
"[B@b166b5" is not a valid lexical representation of
{http://www.w3.org/2001/XMLSchema}base64Binary - java.io.IOException: Error
in encoded stream (see Fault Detail for stacktrace)  
java.lang.IllegalArgumentException: "[B@b166b5" is not a valid lexical
representation of {http://www.w3.org/2001/XMLSchema}base64Binary -
java.io.IOException: Error in encoded stream at



SOAP/XML-RPC Data Request:

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 
<env:Body><n1:manageImage xmlns:n1="http://bt21st.bt.com.sep/Pab"> 
<n1:image  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
  xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
  xmlns:n1="http://bt21st.bt.com.sep/Pab">
 <n2:action   xmlns:n2="java:sep.com.bt.pab.data">INS</n2:action> 
 <n7:imageInBytes  
xmlns:n7="java:sep.com.bt.pab.data">[B@b166b5</n7:imageInBytes> 
</n1:image> 
</n1:manageImage></env:Body></env:Envelope> 
-- 
View this message in context: http://www.nabble.com/SOAP-XML-RPC-Data---Image-in-Bytes-tf4060159.html#a11534982
Sent from the JMeter - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


Re: SOAP/XML-RPC Data - Image in Bytes

Posted by sebb <se...@gmail.com>.
On 11/07/07, a139245 <ya...@tcs.com> wrote:
>
> Hi...
> I have a problem while sending the image in bytes through SOAP/XML-RPC Data
> in JMeter.
> I am getting the following error.
>
> Can anyone has the solution Kindly share with me..

This is not a JMeter developer question - please ask such questions on
the JMeter user list.

Though in this case the question is really about the contents of a
SOAP message, so you might need to check elsewhere.

> Thanks...
>
> This is the error i am getting ...
>
> env:Server  Exception during processing: java.lang.IllegalArgumentException:
> "[B@b166b5" is not a valid lexical representation of

Because that is what the SOAP request contains.

> {http://www.w3.org/2001/XMLSchema}base64Binary - java.io.IOException: Error
> in encoded stream (see Fault Detail for stacktrace)
> java.lang.IllegalArgumentException: "[B@b166b5" is not a valid lexical
> representation of {http://www.w3.org/2001/XMLSchema}base64Binary -
> java.io.IOException: Error in encoded stream at
>
>
>
> SOAP/XML-RPC Data Request:
>
> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> <env:Body><n1:manageImage xmlns:n1="http://bt21st.bt.com.sep/Pab">
> <n1:image  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>  xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
>  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>  xmlns:n1="http://bt21st.bt.com.sep/Pab">
>  <n2:action   xmlns:n2="java:sep.com.bt.pab.data">INS</n2:action>
>  <n7:imageInBytes
> xmlns:n7="java:sep.com.bt.pab.data">[B@b166b5</n7:imageInBytes>
> </n1:image>
> </n1:manageImage></env:Body></env:Envelope>
> --
> View this message in context: http://www.nabble.com/SOAP-XML-RPC-Data---Image-in-Bytes-tf4060159.html#a11534982
> Sent from the JMeter - Dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org