You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Tim Lee <Ti...@smginc.com> on 2002/10/21 17:21:45 UTC

Client question

Hello All,

I'm very new to SOAP and I am writing a client to connect to vendor's
webservice for a product we are using.  I used the apache client examples to
write a simple call and I keep getting the exception listed below.  I'm not
sure what the illegal argument is.  Any ideas?

<SOAP ERROR
[SOAPException: faultCode=SOAP-ENV:Client; msg=A
&apos;http://schemas.xmlsoap.org/soap/envelope/:Fault&apos; element must
contain a: &apos;faultcode&apos; element.;
targetException=java.lang.IllegalArgumentException: A
'http://schemas.xmlsoap.org/soap/envelope/:Fault' element must contain a:
'faultcode' element.]

Thanks,
Tim Lee
***************************************************************************
The information contained in this message is intended only for the
confidential use of the recipient(s) named above. This message is privileged
and confidential. If the reader of this message is not the intended
recipient or any agent responsible for delivering it to the intended
recipient, you are hereby notified that you have received this document in
error and that any review, dissemination, distribution, or copying of this
message is strictly prohibited. If you have received this communication in
error, please notify us immediately. SMG reserves the right to monitor and
review all content sent to and from this email address. Messages sent to and
from this address may be stored on the SMG email system.

--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: Client question

Posted by Scott Nichol <sn...@scottnichol.com>.
I cannot currently connect to the site to check, but I believe your
issue may be directly addressed in Jonathon Chawke's SOAP FAQ:
http://xml.apache.org/soap/faq/faq_chawke.html

Scott Nichol

----- Original Message -----
From: "Tim Lee" <Ti...@smginc.com>
To: <so...@xml.apache.org>
Sent: Monday, October 21, 2002 11:21 AM
Subject: Client question


> Hello All,
>
> I'm very new to SOAP and I am writing a client to connect to vendor's
> webservice for a product we are using.  I used the apache client
examples to
> write a simple call and I keep getting the exception listed below.
I'm not
> sure what the illegal argument is.  Any ideas?
>
> <SOAP ERROR
> [SOAPException: faultCode=SOAP-ENV:Client; msg=A
> &apos;http://schemas.xmlsoap.org/soap/envelope/:Fault&apos; element
must
> contain a: &apos;faultcode&apos; element.;
> targetException=java.lang.IllegalArgumentException: A
> 'http://schemas.xmlsoap.org/soap/envelope/:Fault' element must contain
a:
> 'faultcode' element.]
>
> Thanks,
> Tim Lee
>
************************************************************************
***
> The information contained in this message is intended only for the
> confidential use of the recipient(s) named above. This message is
privileged
> and confidential. If the reader of this message is not the intended
> recipient or any agent responsible for delivering it to the intended
> recipient, you are hereby notified that you have received this
document in
> error and that any review, dissemination, distribution, or copying of
this
> message is strictly prohibited. If you have received this
communication in
> error, please notify us immediately. SMG reserves the right to monitor
and
> review all content sent to and from this email address. Messages sent
to and
> from this address may be stored on the SMG email system.
>
> --
> To unsubscribe, e-mail:
<ma...@xml.apache.org>
> For additional commands, e-mail:
<ma...@xml.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: Client question

Posted by Scott Nichol <sn...@scottnichol.com>.
I cannot currently connect to the site to check, but I believe your
issue may be directly addressed in Jonathon Chawke's SOAP FAQ:
http://xml.apache.org/soap/faq/faq_chawke.html

Scott Nichol

----- Original Message -----
From: "Tim Lee" <Ti...@smginc.com>
To: <so...@xml.apache.org>
Sent: Monday, October 21, 2002 11:21 AM
Subject: Client question


> Hello All,
>
> I'm very new to SOAP and I am writing a client to connect to vendor's
> webservice for a product we are using.  I used the apache client
examples to
> write a simple call and I keep getting the exception listed below.
I'm not
> sure what the illegal argument is.  Any ideas?
>
> <SOAP ERROR
> [SOAPException: faultCode=SOAP-ENV:Client; msg=A
> &apos;http://schemas.xmlsoap.org/soap/envelope/:Fault&apos; element
must
> contain a: &apos;faultcode&apos; element.;
> targetException=java.lang.IllegalArgumentException: A
> 'http://schemas.xmlsoap.org/soap/envelope/:Fault' element must contain
a:
> 'faultcode' element.]
>
> Thanks,
> Tim Lee
>
************************************************************************
***
> The information contained in this message is intended only for the
> confidential use of the recipient(s) named above. This message is
privileged
> and confidential. If the reader of this message is not the intended
> recipient or any agent responsible for delivering it to the intended
> recipient, you are hereby notified that you have received this
document in
> error and that any review, dissemination, distribution, or copying of
this
> message is strictly prohibited. If you have received this
communication in
> error, please notify us immediately. SMG reserves the right to monitor
and
> review all content sent to and from this email address. Messages sent
to and
> from this address may be stored on the SMG email system.
>
> --
> To unsubscribe, e-mail:
<ma...@xml.apache.org>
> For additional commands, e-mail:
<ma...@xml.apache.org>
>
>


RE: Client question

Posted by Anne Thomas Manes <an...@manes.net>.
The exception tells me that you are trying to send a message that contains
the element <env:Fault> in it. Is that true?

Anne

> -----Original Message-----
> From: Tim Lee [mailto:Tim.Lee@smginc.com]
> Sent: Monday, October 21, 2002 11:22 AM
> To: 'soap-user@xml.apache.org'
> Subject: Client question
>
>
> Hello All,
>
> I'm very new to SOAP and I am writing a client to connect to vendor's
> webservice for a product we are using.  I used the apache client
> examples to
> write a simple call and I keep getting the exception listed
> below.  I'm not
> sure what the illegal argument is.  Any ideas?
>
> <SOAP ERROR
> [SOAPException: faultCode=SOAP-ENV:Client; msg=A
> &apos;http://schemas.xmlsoap.org/soap/envelope/:Fault&apos; element must
> contain a: &apos;faultcode&apos; element.;
> targetException=java.lang.IllegalArgumentException: A
> 'http://schemas.xmlsoap.org/soap/envelope/:Fault' element must contain a:
> 'faultcode' element.]
>
> Thanks,
> Tim Lee
> ******************************************************************
> *********
> The information contained in this message is intended only for the
> confidential use of the recipient(s) named above. This message is
> privileged
> and confidential. If the reader of this message is not the intended
> recipient or any agent responsible for delivering it to the intended
> recipient, you are hereby notified that you have received this document in
> error and that any review, dissemination, distribution, or copying of this
> message is strictly prohibited. If you have received this communication in
> error, please notify us immediately. SMG reserves the right to monitor and
> review all content sent to and from this email address. Messages
> sent to and
> from this address may be stored on the SMG email system.
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>


RE: Client question

Posted by Anne Thomas Manes <an...@manes.net>.
The exception tells me that you are trying to send a message that contains
the element <env:Fault> in it. Is that true?

Anne

> -----Original Message-----
> From: Tim Lee [mailto:Tim.Lee@smginc.com]
> Sent: Monday, October 21, 2002 11:22 AM
> To: 'soap-user@xml.apache.org'
> Subject: Client question
>
>
> Hello All,
>
> I'm very new to SOAP and I am writing a client to connect to vendor's
> webservice for a product we are using.  I used the apache client
> examples to
> write a simple call and I keep getting the exception listed
> below.  I'm not
> sure what the illegal argument is.  Any ideas?
>
> <SOAP ERROR
> [SOAPException: faultCode=SOAP-ENV:Client; msg=A
> &apos;http://schemas.xmlsoap.org/soap/envelope/:Fault&apos; element must
> contain a: &apos;faultcode&apos; element.;
> targetException=java.lang.IllegalArgumentException: A
> 'http://schemas.xmlsoap.org/soap/envelope/:Fault' element must contain a:
> 'faultcode' element.]
>
> Thanks,
> Tim Lee
> ******************************************************************
> *********
> The information contained in this message is intended only for the
> confidential use of the recipient(s) named above. This message is
> privileged
> and confidential. If the reader of this message is not the intended
> recipient or any agent responsible for delivering it to the intended
> recipient, you are hereby notified that you have received this document in
> error and that any review, dissemination, distribution, or copying of this
> message is strictly prohibited. If you have received this communication in
> error, please notify us immediately. SMG reserves the right to monitor and
> review all content sent to and from this email address. Messages
> sent to and
> from this address may be stored on the SMG email system.
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>