You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Frank Starsinic <fs...@apengines.com> on 2001/01/03 21:53:05 UTC

vs. problems

We're using Apache Soap and communicating with a company that uses the 
Microsoft Soap toolkit.

after testing it is apparent that their server will only understand the 

<soap> tag and not the <soap-env> tag.

also, after looking through the apache soap source code, it doesn't 
look possible (without changing the apache source) to send a 
<soap> tag. looks like only the <soap-env> tag can get sent.

is there a workaround for this problem.


thanks,


frank

RE: vs. problems

Posted by Frank Starsinic <fs...@apengines.com>.
i belive i tried it both ways. on more than one occasion, the only thing
that was different was the <soap> and <soap-env> stuff. everything else
i left the same. still didn't work.  i will re-test that but i'm sure
that was the only difference.


what did you think about getting <soap> (instead of <soap-env>) tags
returned? does this give
us a hint at all?

frank

> -----Original Message-----
> From: Simon Fell [mailto:soap@zaks.demon.co.uk]
> Sent: Thursday, January 04, 2001 2:29 PM
> To: soap-user@xml.apache.org
> Subject: Re: <soap> vs. <soap-env> problems
>
>
> ok, i think we're getting somewhere, this request is different from
> the one that works in more than just the SOAP / SOAP-ENV prefix. The
> one that works specifies the standard SOAP encoding,
> SOAP:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
>
> whilst the one that's failing is using an apache specific encoding
> SOAP-ENV:encodingStyle="http://xml.apache.org/xml-soap/literalxml"
>
> The server is failing because it doesn't know how to handle this
> encoding style. you need to change your request to specify the
> standard encoding style.
>
> Microsoft now have 2 SOAP toolkits, the first one they released has a
> core object called ROPE (Remote object proxy engine), whilst the new
> toolkit is called the SOAP SDK. I usually call the first toolkit the
> ROPE toolkit so that it's hopefully clear which one is being
> referenced (of course there's also all the SOAP stuff in the .NET beta
> as well)
>
> Cheers
> Simon
> www.pocketsoap.com
>
> On Thu, 4 Jan 2001 10:56:16 -0500, in soap you wrote:
>
> >Here's the transaction on a failure. the company on the
> other end swears
> >that they
> >have the latest version of the ms toolkit. if that were the
> case, would
> >their
> >transmission send back <soap> tags?????  seems like it would
> send back
> ><soap-env>
> >tags if they were using the lastest soap toolkit?
> >
> >rope toolkit? is that different than the soap toolkit?
> >
> >frank
> >
> >Here's the request...
> >##################################################################
> >POST /Mentis/Mentis.asp HTTP/1.0
> >Host: twc
> >Content-Type: text/xml
> >Content-Length: 841
> >SOAPAction: "http://twc/Mentis/Mentis.asp#Serviceability"
> >
> ><SOAP-ENV:Envelope
> >xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xm
> >lns:xsi="http://www.w3.org/1999/XMLSchema-instance"
> >xmlns:xsd="http://www.w3.org
> >/1999/XMLSchema">
> ><SOAP-ENV:Body>
> ><ns1:Serviceability xmlns:ns1="Mentis"
> >SOAP-ENV:encodingStyle="http://xml.apache
> >.org/xml-soap/literalxml">
> ><QuerySubscriberRequest>
> ><Serviceability>
> >                        <EXTERN_SYS_XREF>255</EXTERN_SYS_XREF>
> >                        <WFE_TRAN_TYPE>SERVICEABILITY</WFE_TRAN_TYPE>
> >                        <ADDRESS1>4308 ALLEN DR</ADDRESS1>
> >                        <ADDRESS2/>
> >                        <CITY>COLUMBUS</CITY>
> >                        <STATE>OH</STATE>
> >                        <ZIP>43213</ZIP>
> >                        <ZIP4/>
> >                        <HOME_PHONE>6143956456</HOME_PHONE>
> >                        <ACCOUNT_NO/>
> >                        <HOUSE_KEY/>
> >                        <STATUS_CODE>0</STATUS_CODE>
> >                        <ERROR_CODE>0</ERROR_CODE>
> >                        <DESCR/>
> >                </Serviceability>
> ></QuerySubscriberRequest>
> ></ns1:Serviceability>
> ></SOAP-ENV:Body>
> ></SOAP-ENV:Envelope>
> >
> >
> >Here's the response...
> >##################################################################
> >HTTP/1.1 200 OK
> >Server: Microsoft-IIS/4.0
> >Date: Tue, 02 Jan 2001 23:04:06 GMT
> >MessageType: CallResponse
> >Content-Type: text/xml
> >Expires: Tue, 02 Jan 2001 23:04:06 GMT
> >Set-Cookie: ASPSESSIONIDQQGQGRGK=DNNDGPABLDNIHENBPLJMPAPI; path=/
> >Cache-control: private
> >
> ><?xml version="1.0"?>
> ><SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
> >SOAP:encod
> >ingStyle="http://schemas.xmlsoap.org/soap/encoding/">
> ><SOAP:Body>
> >
> ><SOAP:Fault>
> ><faultcode>300</faultcode><faultstring>Nothing was
> >posted</faultstring><faultact
> >or>300</faultactor><detail>Nothing was posted</detail></SOAP:Fault>
> ></SOAP:Body>
> ></SOAP:Envelope>
> >
> >
> >> -----Original Message-----
> >> From: Simon Fell [mailto:soap@zaks.demon.co.uk]
> >> Sent: Thursday, January 04, 2001 1:25 PM
> >> To: soap-user@xml.apache.org
> >> Subject: Re: <soap> vs. <soap-env> problems
> >>
> >>
> >> but when the request uses SOAP-ENV, it fails, right ?. what's the
> >> reply look like in this case ?,
> >>
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> >For additional commands, email: soap-user-help@xml.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> For additional commands, email: soap-user-help@xml.apache.org
>


Re: vs. problems

Posted by Glen Daniels <gd...@allaire.com>.
I'm sorry, I haven't read the earlier part of this conversation, but if
you're asking about which prefix to use, the answer is "it doesn't matter".

You could just as well say
xmlns:fred="http://schemas.xmlsoap.org/soap/envelope/" and
fred:encodingStyle="..." and it would be precisely the same thing.  The
prefix only has meaning within the particular document/element in which it
is defined.  The URL inside the quotes, however, is the important part.

Check out James Clark's excellent introduction to XML namespaces at
http://www.jclark.com/xml/xmlns.htm.

--Glen

----- Original Message -----
From: "Frank Starsinic" <fs...@apengines.com>
To: <so...@xml.apache.org>
Sent: Thursday, January 04, 2001 1:04 PM
Subject: RE: <soap> vs. <soap-env> problems


> Is this a proper soap packet? mostly what i'm refering to is the
> xmlns:SOAP-ENV="http..."
> and the SOAP-ENV:encodingStyle="http..."
>
> are they correct or should it be xmlns:SOAP="http..." and
> SOAP:encodingStyle="http..."
>
> thanks, frank
>
> POST /Mentis/Mentis.asp HTTP/1.0
> Host: localhost:8080
> Content-Type: text/xml
> Content-Length: 1081
> SOAPAction: http://twc/Mentis/Mentis.asp#Serviceability
>
> <?xml version="1.0"?>
> <SOAP-ENV:Envelope
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
> SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
>         <SOAP-ENV:Body>
>                 <Serviceability>
>                         <FRANK>test</FRANK>
>                 </Serviceability>
>         </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
>
>
> > -----Original Message-----
> > From: Simon Fell [mailto:soap@zaks.demon.co.uk]
> > Sent: Thursday, January 04, 2001 2:29 PM
> > To: soap-user@xml.apache.org
> > Subject: Re: <soap> vs. <soap-env> problems
> >
> >
> > ok, i think we're getting somewhere, this request is different from
> > the one that works in more than just the SOAP / SOAP-ENV prefix. The
> > one that works specifies the standard SOAP encoding,
> > SOAP:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> >
> > whilst the one that's failing is using an apache specific encoding
> > SOAP-ENV:encodingStyle="http://xml.apache.org/xml-soap/literalxml"
> >
> > The server is failing because it doesn't know how to handle this
> > encoding style. you need to change your request to specify the
> > standard encoding style.
> >
> > Microsoft now have 2 SOAP toolkits, the first one they released has a
> > core object called ROPE (Remote object proxy engine), whilst the new
> > toolkit is called the SOAP SDK. I usually call the first toolkit the
> > ROPE toolkit so that it's hopefully clear which one is being
> > referenced (of course there's also all the SOAP stuff in the .NET beta
> > as well)
> >
> > Cheers
> > Simon
> > www.pocketsoap.com
> >
> > On Thu, 4 Jan 2001 10:56:16 -0500, in soap you wrote:
> >
> > >Here's the transaction on a failure. the company on the
> > other end swears
> > >that they
> > >have the latest version of the ms toolkit. if that were the
> > case, would
> > >their
> > >transmission send back <soap> tags?????  seems like it would
> > send back
> > ><soap-env>
> > >tags if they were using the lastest soap toolkit?
> > >
> > >rope toolkit? is that different than the soap toolkit?
> > >
> > >frank
> > >
> > >Here's the request...
> > >##################################################################
> > >POST /Mentis/Mentis.asp HTTP/1.0
> > >Host: twc
> > >Content-Type: text/xml
> > >Content-Length: 841
> > >SOAPAction: "http://twc/Mentis/Mentis.asp#Serviceability"
> > >
> > ><SOAP-ENV:Envelope
> > >xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xm
> > >lns:xsi="http://www.w3.org/1999/XMLSchema-instance"
> > >xmlns:xsd="http://www.w3.org
> > >/1999/XMLSchema">
> > ><SOAP-ENV:Body>
> > ><ns1:Serviceability xmlns:ns1="Mentis"
> > >SOAP-ENV:encodingStyle="http://xml.apache
> > >.org/xml-soap/literalxml">
> > ><QuerySubscriberRequest>
> > ><Serviceability>
> > >                        <EXTERN_SYS_XREF>255</EXTERN_SYS_XREF>
> > >                        <WFE_TRAN_TYPE>SERVICEABILITY</WFE_TRAN_TYPE>
> > >                        <ADDRESS1>4308 ALLEN DR</ADDRESS1>
> > >                        <ADDRESS2/>
> > >                        <CITY>COLUMBUS</CITY>
> > >                        <STATE>OH</STATE>
> > >                        <ZIP>43213</ZIP>
> > >                        <ZIP4/>
> > >                        <HOME_PHONE>6143956456</HOME_PHONE>
> > >                        <ACCOUNT_NO/>
> > >                        <HOUSE_KEY/>
> > >                        <STATUS_CODE>0</STATUS_CODE>
> > >                        <ERROR_CODE>0</ERROR_CODE>
> > >                        <DESCR/>
> > >                </Serviceability>
> > ></QuerySubscriberRequest>
> > ></ns1:Serviceability>
> > ></SOAP-ENV:Body>
> > ></SOAP-ENV:Envelope>
> > >
> > >
> > >Here's the response...
> > >##################################################################
> > >HTTP/1.1 200 OK
> > >Server: Microsoft-IIS/4.0
> > >Date: Tue, 02 Jan 2001 23:04:06 GMT
> > >MessageType: CallResponse
> > >Content-Type: text/xml
> > >Expires: Tue, 02 Jan 2001 23:04:06 GMT
> > >Set-Cookie: ASPSESSIONIDQQGQGRGK=DNNDGPABLDNIHENBPLJMPAPI; path=/
> > >Cache-control: private
> > >
> > ><?xml version="1.0"?>
> > ><SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
> > >SOAP:encod
> > >ingStyle="http://schemas.xmlsoap.org/soap/encoding/">
> > ><SOAP:Body>
> > >
> > ><SOAP:Fault>
> > ><faultcode>300</faultcode><faultstring>Nothing was
> > >posted</faultstring><faultact
> > >or>300</faultactor><detail>Nothing was posted</detail></SOAP:Fault>
> > ></SOAP:Body>
> > ></SOAP:Envelope>
> > >
> > >
> > >> -----Original Message-----
> > >> From: Simon Fell [mailto:soap@zaks.demon.co.uk]
> > >> Sent: Thursday, January 04, 2001 1:25 PM
> > >> To: soap-user@xml.apache.org
> > >> Subject: Re: <soap> vs. <soap-env> problems
> > >>
> > >>
> > >> but when the request uses SOAP-ENV, it fails, right ?. what's the
> > >> reply look like in this case ?,
> > >>
> > >
> > >
> > >---------------------------------------------------------------------
> > >To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> > >For additional commands, email: soap-user-help@xml.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> > For additional commands, email: soap-user-help@xml.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> For additional commands, email: soap-user-help@xml.apache.org
>


Re: vs. problems

Posted by Glen Daniels <gd...@allaire.com>.
I'm sorry, I haven't read the earlier part of this conversation, but if
you're asking about which prefix to use, the answer is "it doesn't matter".

You could just as well say
xmlns:fred="http://schemas.xmlsoap.org/soap/envelope/" and
fred:encodingStyle="..." and it would be precisely the same thing.  The
prefix only has meaning within the particular document/element in which it
is defined.  The URL inside the quotes, however, is the important part.

Check out James Clark's excellent introduction to XML namespaces at
http://www.jclark.com/xml/xmlns.htm.

--Glen

----- Original Message -----
From: "Frank Starsinic" <fs...@apengines.com>
To: <so...@xml.apache.org>
Sent: Thursday, January 04, 2001 1:04 PM
Subject: RE: <soap> vs. <soap-env> problems


> Is this a proper soap packet? mostly what i'm refering to is the
> xmlns:SOAP-ENV="http..."
> and the SOAP-ENV:encodingStyle="http..."
>
> are they correct or should it be xmlns:SOAP="http..." and
> SOAP:encodingStyle="http..."
>
> thanks, frank
>
> POST /Mentis/Mentis.asp HTTP/1.0
> Host: localhost:8080
> Content-Type: text/xml
> Content-Length: 1081
> SOAPAction: http://twc/Mentis/Mentis.asp#Serviceability
>
> <?xml version="1.0"?>
> <SOAP-ENV:Envelope
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
> SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
>         <SOAP-ENV:Body>
>                 <Serviceability>
>                         <FRANK>test</FRANK>
>                 </Serviceability>
>         </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
>
>
> > -----Original Message-----
> > From: Simon Fell [mailto:soap@zaks.demon.co.uk]
> > Sent: Thursday, January 04, 2001 2:29 PM
> > To: soap-user@xml.apache.org
> > Subject: Re: <soap> vs. <soap-env> problems
> >
> >
> > ok, i think we're getting somewhere, this request is different from
> > the one that works in more than just the SOAP / SOAP-ENV prefix. The
> > one that works specifies the standard SOAP encoding,
> > SOAP:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> >
> > whilst the one that's failing is using an apache specific encoding
> > SOAP-ENV:encodingStyle="http://xml.apache.org/xml-soap/literalxml"
> >
> > The server is failing because it doesn't know how to handle this
> > encoding style. you need to change your request to specify the
> > standard encoding style.
> >
> > Microsoft now have 2 SOAP toolkits, the first one they released has a
> > core object called ROPE (Remote object proxy engine), whilst the new
> > toolkit is called the SOAP SDK. I usually call the first toolkit the
> > ROPE toolkit so that it's hopefully clear which one is being
> > referenced (of course there's also all the SOAP stuff in the .NET beta
> > as well)
> >
> > Cheers
> > Simon
> > www.pocketsoap.com
> >
> > On Thu, 4 Jan 2001 10:56:16 -0500, in soap you wrote:
> >
> > >Here's the transaction on a failure. the company on the
> > other end swears
> > >that they
> > >have the latest version of the ms toolkit. if that were the
> > case, would
> > >their
> > >transmission send back <soap> tags?????  seems like it would
> > send back
> > ><soap-env>
> > >tags if they were using the lastest soap toolkit?
> > >
> > >rope toolkit? is that different than the soap toolkit?
> > >
> > >frank
> > >
> > >Here's the request...
> > >##################################################################
> > >POST /Mentis/Mentis.asp HTTP/1.0
> > >Host: twc
> > >Content-Type: text/xml
> > >Content-Length: 841
> > >SOAPAction: "http://twc/Mentis/Mentis.asp#Serviceability"
> > >
> > ><SOAP-ENV:Envelope
> > >xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xm
> > >lns:xsi="http://www.w3.org/1999/XMLSchema-instance"
> > >xmlns:xsd="http://www.w3.org
> > >/1999/XMLSchema">
> > ><SOAP-ENV:Body>
> > ><ns1:Serviceability xmlns:ns1="Mentis"
> > >SOAP-ENV:encodingStyle="http://xml.apache
> > >.org/xml-soap/literalxml">
> > ><QuerySubscriberRequest>
> > ><Serviceability>
> > >                        <EXTERN_SYS_XREF>255</EXTERN_SYS_XREF>
> > >                        <WFE_TRAN_TYPE>SERVICEABILITY</WFE_TRAN_TYPE>
> > >                        <ADDRESS1>4308 ALLEN DR</ADDRESS1>
> > >                        <ADDRESS2/>
> > >                        <CITY>COLUMBUS</CITY>
> > >                        <STATE>OH</STATE>
> > >                        <ZIP>43213</ZIP>
> > >                        <ZIP4/>
> > >                        <HOME_PHONE>6143956456</HOME_PHONE>
> > >                        <ACCOUNT_NO/>
> > >                        <HOUSE_KEY/>
> > >                        <STATUS_CODE>0</STATUS_CODE>
> > >                        <ERROR_CODE>0</ERROR_CODE>
> > >                        <DESCR/>
> > >                </Serviceability>
> > ></QuerySubscriberRequest>
> > ></ns1:Serviceability>
> > ></SOAP-ENV:Body>
> > ></SOAP-ENV:Envelope>
> > >
> > >
> > >Here's the response...
> > >##################################################################
> > >HTTP/1.1 200 OK
> > >Server: Microsoft-IIS/4.0
> > >Date: Tue, 02 Jan 2001 23:04:06 GMT
> > >MessageType: CallResponse
> > >Content-Type: text/xml
> > >Expires: Tue, 02 Jan 2001 23:04:06 GMT
> > >Set-Cookie: ASPSESSIONIDQQGQGRGK=DNNDGPABLDNIHENBPLJMPAPI; path=/
> > >Cache-control: private
> > >
> > ><?xml version="1.0"?>
> > ><SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
> > >SOAP:encod
> > >ingStyle="http://schemas.xmlsoap.org/soap/encoding/">
> > ><SOAP:Body>
> > >
> > ><SOAP:Fault>
> > ><faultcode>300</faultcode><faultstring>Nothing was
> > >posted</faultstring><faultact
> > >or>300</faultactor><detail>Nothing was posted</detail></SOAP:Fault>
> > ></SOAP:Body>
> > ></SOAP:Envelope>
> > >
> > >
> > >> -----Original Message-----
> > >> From: Simon Fell [mailto:soap@zaks.demon.co.uk]
> > >> Sent: Thursday, January 04, 2001 1:25 PM
> > >> To: soap-user@xml.apache.org
> > >> Subject: Re: <soap> vs. <soap-env> problems
> > >>
> > >>
> > >> but when the request uses SOAP-ENV, it fails, right ?. what's the
> > >> reply look like in this case ?,
> > >>
> > >
> > >
> > >---------------------------------------------------------------------
> > >To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> > >For additional commands, email: soap-user-help@xml.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> > For additional commands, email: soap-user-help@xml.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> For additional commands, email: soap-user-help@xml.apache.org
>


RE: vs. problems

Posted by Frank Starsinic <fs...@apengines.com>.
Is this a proper soap packet? mostly what i'm refering to is the
xmlns:SOAP-ENV="http..."
and the SOAP-ENV:encodingStyle="http..."

are they correct or should it be xmlns:SOAP="http..." and
SOAP:encodingStyle="http..."

thanks, frank

POST /Mentis/Mentis.asp HTTP/1.0
Host: localhost:8080
Content-Type: text/xml
Content-Length: 1081
SOAPAction: http://twc/Mentis/Mentis.asp#Serviceability

<?xml version="1.0"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
        <SOAP-ENV:Body>
                <Serviceability>
                        <FRANK>test</FRANK>
                </Serviceability>
        </SOAP-ENV:Body>
</SOAP-ENV:Envelope>


> -----Original Message-----
> From: Simon Fell [mailto:soap@zaks.demon.co.uk]
> Sent: Thursday, January 04, 2001 2:29 PM
> To: soap-user@xml.apache.org
> Subject: Re: <soap> vs. <soap-env> problems
>
>
> ok, i think we're getting somewhere, this request is different from
> the one that works in more than just the SOAP / SOAP-ENV prefix. The
> one that works specifies the standard SOAP encoding,
> SOAP:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
>
> whilst the one that's failing is using an apache specific encoding
> SOAP-ENV:encodingStyle="http://xml.apache.org/xml-soap/literalxml"
>
> The server is failing because it doesn't know how to handle this
> encoding style. you need to change your request to specify the
> standard encoding style.
>
> Microsoft now have 2 SOAP toolkits, the first one they released has a
> core object called ROPE (Remote object proxy engine), whilst the new
> toolkit is called the SOAP SDK. I usually call the first toolkit the
> ROPE toolkit so that it's hopefully clear which one is being
> referenced (of course there's also all the SOAP stuff in the .NET beta
> as well)
>
> Cheers
> Simon
> www.pocketsoap.com
>
> On Thu, 4 Jan 2001 10:56:16 -0500, in soap you wrote:
>
> >Here's the transaction on a failure. the company on the
> other end swears
> >that they
> >have the latest version of the ms toolkit. if that were the
> case, would
> >their
> >transmission send back <soap> tags?????  seems like it would
> send back
> ><soap-env>
> >tags if they were using the lastest soap toolkit?
> >
> >rope toolkit? is that different than the soap toolkit?
> >
> >frank
> >
> >Here's the request...
> >##################################################################
> >POST /Mentis/Mentis.asp HTTP/1.0
> >Host: twc
> >Content-Type: text/xml
> >Content-Length: 841
> >SOAPAction: "http://twc/Mentis/Mentis.asp#Serviceability"
> >
> ><SOAP-ENV:Envelope
> >xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xm
> >lns:xsi="http://www.w3.org/1999/XMLSchema-instance"
> >xmlns:xsd="http://www.w3.org
> >/1999/XMLSchema">
> ><SOAP-ENV:Body>
> ><ns1:Serviceability xmlns:ns1="Mentis"
> >SOAP-ENV:encodingStyle="http://xml.apache
> >.org/xml-soap/literalxml">
> ><QuerySubscriberRequest>
> ><Serviceability>
> >                        <EXTERN_SYS_XREF>255</EXTERN_SYS_XREF>
> >                        <WFE_TRAN_TYPE>SERVICEABILITY</WFE_TRAN_TYPE>
> >                        <ADDRESS1>4308 ALLEN DR</ADDRESS1>
> >                        <ADDRESS2/>
> >                        <CITY>COLUMBUS</CITY>
> >                        <STATE>OH</STATE>
> >                        <ZIP>43213</ZIP>
> >                        <ZIP4/>
> >                        <HOME_PHONE>6143956456</HOME_PHONE>
> >                        <ACCOUNT_NO/>
> >                        <HOUSE_KEY/>
> >                        <STATUS_CODE>0</STATUS_CODE>
> >                        <ERROR_CODE>0</ERROR_CODE>
> >                        <DESCR/>
> >                </Serviceability>
> ></QuerySubscriberRequest>
> ></ns1:Serviceability>
> ></SOAP-ENV:Body>
> ></SOAP-ENV:Envelope>
> >
> >
> >Here's the response...
> >##################################################################
> >HTTP/1.1 200 OK
> >Server: Microsoft-IIS/4.0
> >Date: Tue, 02 Jan 2001 23:04:06 GMT
> >MessageType: CallResponse
> >Content-Type: text/xml
> >Expires: Tue, 02 Jan 2001 23:04:06 GMT
> >Set-Cookie: ASPSESSIONIDQQGQGRGK=DNNDGPABLDNIHENBPLJMPAPI; path=/
> >Cache-control: private
> >
> ><?xml version="1.0"?>
> ><SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
> >SOAP:encod
> >ingStyle="http://schemas.xmlsoap.org/soap/encoding/">
> ><SOAP:Body>
> >
> ><SOAP:Fault>
> ><faultcode>300</faultcode><faultstring>Nothing was
> >posted</faultstring><faultact
> >or>300</faultactor><detail>Nothing was posted</detail></SOAP:Fault>
> ></SOAP:Body>
> ></SOAP:Envelope>
> >
> >
> >> -----Original Message-----
> >> From: Simon Fell [mailto:soap@zaks.demon.co.uk]
> >> Sent: Thursday, January 04, 2001 1:25 PM
> >> To: soap-user@xml.apache.org
> >> Subject: Re: <soap> vs. <soap-env> problems
> >>
> >>
> >> but when the request uses SOAP-ENV, it fails, right ?. what's the
> >> reply look like in this case ?,
> >>
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> >For additional commands, email: soap-user-help@xml.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> For additional commands, email: soap-user-help@xml.apache.org
>


RE: vs. problems

Posted by Frank Starsinic <fs...@apengines.com>.
i belive i tried it both ways. on more than one occasion, the only thing
that was different was the <soap> and <soap-env> stuff. everything else
i left the same. still didn't work.  i will re-test that but i'm sure
that was the only difference.


what did you think about getting <soap> (instead of <soap-env>) tags
returned? does this give
us a hint at all?

frank

> -----Original Message-----
> From: Simon Fell [mailto:soap@zaks.demon.co.uk]
> Sent: Thursday, January 04, 2001 2:29 PM
> To: soap-user@xml.apache.org
> Subject: Re: <soap> vs. <soap-env> problems
>
>
> ok, i think we're getting somewhere, this request is different from
> the one that works in more than just the SOAP / SOAP-ENV prefix. The
> one that works specifies the standard SOAP encoding,
> SOAP:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
>
> whilst the one that's failing is using an apache specific encoding
> SOAP-ENV:encodingStyle="http://xml.apache.org/xml-soap/literalxml"
>
> The server is failing because it doesn't know how to handle this
> encoding style. you need to change your request to specify the
> standard encoding style.
>
> Microsoft now have 2 SOAP toolkits, the first one they released has a
> core object called ROPE (Remote object proxy engine), whilst the new
> toolkit is called the SOAP SDK. I usually call the first toolkit the
> ROPE toolkit so that it's hopefully clear which one is being
> referenced (of course there's also all the SOAP stuff in the .NET beta
> as well)
>
> Cheers
> Simon
> www.pocketsoap.com
>
> On Thu, 4 Jan 2001 10:56:16 -0500, in soap you wrote:
>
> >Here's the transaction on a failure. the company on the
> other end swears
> >that they
> >have the latest version of the ms toolkit. if that were the
> case, would
> >their
> >transmission send back <soap> tags?????  seems like it would
> send back
> ><soap-env>
> >tags if they were using the lastest soap toolkit?
> >
> >rope toolkit? is that different than the soap toolkit?
> >
> >frank
> >
> >Here's the request...
> >##################################################################
> >POST /Mentis/Mentis.asp HTTP/1.0
> >Host: twc
> >Content-Type: text/xml
> >Content-Length: 841
> >SOAPAction: "http://twc/Mentis/Mentis.asp#Serviceability"
> >
> ><SOAP-ENV:Envelope
> >xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xm
> >lns:xsi="http://www.w3.org/1999/XMLSchema-instance"
> >xmlns:xsd="http://www.w3.org
> >/1999/XMLSchema">
> ><SOAP-ENV:Body>
> ><ns1:Serviceability xmlns:ns1="Mentis"
> >SOAP-ENV:encodingStyle="http://xml.apache
> >.org/xml-soap/literalxml">
> ><QuerySubscriberRequest>
> ><Serviceability>
> >                        <EXTERN_SYS_XREF>255</EXTERN_SYS_XREF>
> >                        <WFE_TRAN_TYPE>SERVICEABILITY</WFE_TRAN_TYPE>
> >                        <ADDRESS1>4308 ALLEN DR</ADDRESS1>
> >                        <ADDRESS2/>
> >                        <CITY>COLUMBUS</CITY>
> >                        <STATE>OH</STATE>
> >                        <ZIP>43213</ZIP>
> >                        <ZIP4/>
> >                        <HOME_PHONE>6143956456</HOME_PHONE>
> >                        <ACCOUNT_NO/>
> >                        <HOUSE_KEY/>
> >                        <STATUS_CODE>0</STATUS_CODE>
> >                        <ERROR_CODE>0</ERROR_CODE>
> >                        <DESCR/>
> >                </Serviceability>
> ></QuerySubscriberRequest>
> ></ns1:Serviceability>
> ></SOAP-ENV:Body>
> ></SOAP-ENV:Envelope>
> >
> >
> >Here's the response...
> >##################################################################
> >HTTP/1.1 200 OK
> >Server: Microsoft-IIS/4.0
> >Date: Tue, 02 Jan 2001 23:04:06 GMT
> >MessageType: CallResponse
> >Content-Type: text/xml
> >Expires: Tue, 02 Jan 2001 23:04:06 GMT
> >Set-Cookie: ASPSESSIONIDQQGQGRGK=DNNDGPABLDNIHENBPLJMPAPI; path=/
> >Cache-control: private
> >
> ><?xml version="1.0"?>
> ><SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
> >SOAP:encod
> >ingStyle="http://schemas.xmlsoap.org/soap/encoding/">
> ><SOAP:Body>
> >
> ><SOAP:Fault>
> ><faultcode>300</faultcode><faultstring>Nothing was
> >posted</faultstring><faultact
> >or>300</faultactor><detail>Nothing was posted</detail></SOAP:Fault>
> ></SOAP:Body>
> ></SOAP:Envelope>
> >
> >
> >> -----Original Message-----
> >> From: Simon Fell [mailto:soap@zaks.demon.co.uk]
> >> Sent: Thursday, January 04, 2001 1:25 PM
> >> To: soap-user@xml.apache.org
> >> Subject: Re: <soap> vs. <soap-env> problems
> >>
> >>
> >> but when the request uses SOAP-ENV, it fails, right ?. what's the
> >> reply look like in this case ?,
> >>
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> >For additional commands, email: soap-user-help@xml.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> For additional commands, email: soap-user-help@xml.apache.org
>


RE: vs. SUCCESS (and a follow up question)

Posted by Frank Starsinic <fs...@apengines.com>.
OK i got it to work.
i needed to use this encoding style.

call.setEncodingStyleURI(Constants.NS_URI_SOAP_ENC);

thanks simon!

i have one more question for someone. then i'll be an expert.  :)
  (i've included the xml file, the resulant soap packet and the java snippet
i tried to get it to work.)
how do i create the soap packet (below) using the apache SOAP API given
that the only information i know is the following xml file
######################################### xml file
#########################################
                <Serviceability>
                        <EXTERN_SYS_XREF>255</EXTERN_SYS_XREF>
                        <WFE_TRAN_TYPE>SERVICEABILITY</WFE_TRAN_TYPE>
                        <ADDRESS1>4308 ALLEN DR</ADDRESS1>
                        <ADDRESS2></ADDRESS2>
                        <CITY>COLUMBUS</CITY>
                        <STATE>OH</STATE>
                        <ZIP>43213</ZIP>
                        <ZIP4></ZIP4>
                        <HOME_PHONE>6143956456</HOME_PHONE>
                        <ACCOUNT_NO></ACCOUNT_NO>
                        <HOUSE_KEY></HOUSE_KEY>
                        <STATUS_CODE>0</STATUS_CODE>
                        <ERROR_CODE>0</ERROR_CODE>
                        <DESCR></DESCR>
                        <FRANK>test</FRANK>
                </Serviceability>
i don't have a problem generating the http header, just the xml
part.

here is the soap packet that works that i need to generate using the apache
soap api.
######################################### soap packet
#########################################
POST /Mentis/Mentis.asp HTTP/1.0
Host: localhost:8080
Content-Type: text/xml
Content-Length: 1081
SOAPAction: http://twc/Mentis/Mentis.asp#Serviceability

<?xml version="1.0"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
        <SOAP-ENV:Body>
                <Serviceability>
                        <EXTERN_SYS_XREF>255</EXTERN_SYS_XREF>
                        <WFE_TRAN_TYPE>SERVICEABILITY</WFE_TRAN_TYPE>
                        <ADDRESS1>4308 ALLEN DR</ADDRESS1>
                        <ADDRESS2></ADDRESS2>
                        <CITY>COLUMBUS</CITY>
                        <STATE>OH</STATE>
                        <ZIP>43213</ZIP>
                        <ZIP4></ZIP4>
                        <HOME_PHONE>6143956456</HOME_PHONE>
                        <ACCOUNT_NO></ACCOUNT_NO>
                        <HOUSE_KEY></HOUSE_KEY>
                        <STATUS_CODE>0</STATUS_CODE>
                        <ERROR_CODE>0</ERROR_CODE>
                        <DESCR></DESCR>
                        <FRANK>test</FRANK>
                </Serviceability>
        </SOAP-ENV:Body>
</SOAP-ENV:Envelope>


it should be something like this but i can't quite get it.....

######################################### java snippet
#########################################


import org.w3c.dom.*;
import org.apache.soap.util.xml.*;
import org.apache.soap.*;
import org.apache.soap.encoding.*;
import org.apache.soap.encoding.soapenc.*;
import org.apache.soap.rpc.*;
import java.net.*;
import java.io.*;
import java.util.*;

public class Test
{
    public static void main (String args[])throws
java.net.MalformedURLException,
java.io.FileNotFoundException,
java.io.IOException,
java.lang.NullPointerException
    {
        URL url = new URL("http://" + args[1] + "/Mentis/Mentis.asp");
        Reader UserFile = new FileReader(xml_location);

        XMLParserLiaison xpl = new XercesParserLiaison();
        Document doc = xpl.read("- User File -", UserFile);
        Element root = doc.getDocumentElement();
        // Build the call.
        Call call = new Call();
        call.setEncodingStyleURI(Constants.NS_URI_SOAP_ENC);
        Vector params = new Vector();

        //################ the problem is down here somewhere. i don't know
what the @#$%^ i'm doing #######

        params.addElement(new Parameter("Serviceability",
Element.class,root, Constants.NS_URI_LITERAL_XML));
        call.setParams(params);
        // Invoke the call.
        Response resp;
        try
        {
            resp = call.invoke(url, "");//Invoke this call at the specified
URL.
        } catch (SOAPException e)
        {
            System.out.println("Caught SOAPException (" + e.getFaultCode() +
"): " + e.getMessage());

            return;
        }

        System.out.println("generatedFault()?"+resp.generatedFault());
//					resp.getFault().setFaultString("sds");


        if (!resp.generatedFault())
        {
            System.out.println("1");
            Parameter ret = resp.getReturnValue();

System.out.println("EncodingStyleURI"+ret.getEncodingStyleURI());

            Element rspE1 = (Element)ret.getValue();

            System.out.println("2");
            Element e = (Element)ret.getValue();
            System.out.println("3");
            strResponse = DOM2Writer.nodeToString(rspE1);
            System.out.println(strResponse);
            System.out.println("4");
            byte b[] = new byte[strResponse.length()];
            System.out.println("5");
            b = strResponse.getBytes();

            FileOutputStream fo = new
FileOutputStream("QuerySubscriber_Response.xml");
            fo.write(b);
            fo.close();
            System.out.println("6");
        } else
        {
            Fault fault = resp.getFault();
            System.out.println("Generated fault: ");
            System.out.println ("  Fault Code   = " + fault.getFaultCode());
            System.out.println ("  Fault String = " +
fault.getFaultString());
            System.out.println ("bjbvckdbvksvpvkp"+
fault.getDetailEntries().toString());

        }

    }


}



thanks a million,


frank


RE: vs. SUCCESS (and a follow up question)

Posted by Frank Starsinic <fs...@apengines.com>.
OK i got it to work.
i needed to use this encoding style.

call.setEncodingStyleURI(Constants.NS_URI_SOAP_ENC);

thanks simon!

i have one more question for someone. then i'll be an expert.  :)
  (i've included the xml file, the resulant soap packet and the java snippet
i tried to get it to work.)
how do i create the soap packet (below) using the apache SOAP API given
that the only information i know is the following xml file
######################################### xml file
#########################################
                <Serviceability>
                        <EXTERN_SYS_XREF>255</EXTERN_SYS_XREF>
                        <WFE_TRAN_TYPE>SERVICEABILITY</WFE_TRAN_TYPE>
                        <ADDRESS1>4308 ALLEN DR</ADDRESS1>
                        <ADDRESS2></ADDRESS2>
                        <CITY>COLUMBUS</CITY>
                        <STATE>OH</STATE>
                        <ZIP>43213</ZIP>
                        <ZIP4></ZIP4>
                        <HOME_PHONE>6143956456</HOME_PHONE>
                        <ACCOUNT_NO></ACCOUNT_NO>
                        <HOUSE_KEY></HOUSE_KEY>
                        <STATUS_CODE>0</STATUS_CODE>
                        <ERROR_CODE>0</ERROR_CODE>
                        <DESCR></DESCR>
                        <FRANK>test</FRANK>
                </Serviceability>
i don't have a problem generating the http header, just the xml
part.

here is the soap packet that works that i need to generate using the apache
soap api.
######################################### soap packet
#########################################
POST /Mentis/Mentis.asp HTTP/1.0
Host: localhost:8080
Content-Type: text/xml
Content-Length: 1081
SOAPAction: http://twc/Mentis/Mentis.asp#Serviceability

<?xml version="1.0"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
        <SOAP-ENV:Body>
                <Serviceability>
                        <EXTERN_SYS_XREF>255</EXTERN_SYS_XREF>
                        <WFE_TRAN_TYPE>SERVICEABILITY</WFE_TRAN_TYPE>
                        <ADDRESS1>4308 ALLEN DR</ADDRESS1>
                        <ADDRESS2></ADDRESS2>
                        <CITY>COLUMBUS</CITY>
                        <STATE>OH</STATE>
                        <ZIP>43213</ZIP>
                        <ZIP4></ZIP4>
                        <HOME_PHONE>6143956456</HOME_PHONE>
                        <ACCOUNT_NO></ACCOUNT_NO>
                        <HOUSE_KEY></HOUSE_KEY>
                        <STATUS_CODE>0</STATUS_CODE>
                        <ERROR_CODE>0</ERROR_CODE>
                        <DESCR></DESCR>
                        <FRANK>test</FRANK>
                </Serviceability>
        </SOAP-ENV:Body>
</SOAP-ENV:Envelope>


it should be something like this but i can't quite get it.....

######################################### java snippet
#########################################


import org.w3c.dom.*;
import org.apache.soap.util.xml.*;
import org.apache.soap.*;
import org.apache.soap.encoding.*;
import org.apache.soap.encoding.soapenc.*;
import org.apache.soap.rpc.*;
import java.net.*;
import java.io.*;
import java.util.*;

public class Test
{
    public static void main (String args[])throws
java.net.MalformedURLException,
java.io.FileNotFoundException,
java.io.IOException,
java.lang.NullPointerException
    {
        URL url = new URL("http://" + args[1] + "/Mentis/Mentis.asp");
        Reader UserFile = new FileReader(xml_location);

        XMLParserLiaison xpl = new XercesParserLiaison();
        Document doc = xpl.read("- User File -", UserFile);
        Element root = doc.getDocumentElement();
        // Build the call.
        Call call = new Call();
        call.setEncodingStyleURI(Constants.NS_URI_SOAP_ENC);
        Vector params = new Vector();

        //################ the problem is down here somewhere. i don't know
what the @#$%^ i'm doing #######

        params.addElement(new Parameter("Serviceability",
Element.class,root, Constants.NS_URI_LITERAL_XML));
        call.setParams(params);
        // Invoke the call.
        Response resp;
        try
        {
            resp = call.invoke(url, "");//Invoke this call at the specified
URL.
        } catch (SOAPException e)
        {
            System.out.println("Caught SOAPException (" + e.getFaultCode() +
"): " + e.getMessage());

            return;
        }

        System.out.println("generatedFault()?"+resp.generatedFault());
//					resp.getFault().setFaultString("sds");


        if (!resp.generatedFault())
        {
            System.out.println("1");
            Parameter ret = resp.getReturnValue();

System.out.println("EncodingStyleURI"+ret.getEncodingStyleURI());

            Element rspE1 = (Element)ret.getValue();

            System.out.println("2");
            Element e = (Element)ret.getValue();
            System.out.println("3");
            strResponse = DOM2Writer.nodeToString(rspE1);
            System.out.println(strResponse);
            System.out.println("4");
            byte b[] = new byte[strResponse.length()];
            System.out.println("5");
            b = strResponse.getBytes();

            FileOutputStream fo = new
FileOutputStream("QuerySubscriber_Response.xml");
            fo.write(b);
            fo.close();
            System.out.println("6");
        } else
        {
            Fault fault = resp.getFault();
            System.out.println("Generated fault: ");
            System.out.println ("  Fault Code   = " + fault.getFaultCode());
            System.out.println ("  Fault String = " +
fault.getFaultString());
            System.out.println ("bjbvckdbvksvpvkp"+
fault.getDetailEntries().toString());

        }

    }


}



thanks a million,


frank


RE: vs. problems

Posted by Frank Starsinic <fs...@apengines.com>.
Is this a proper soap packet? mostly what i'm refering to is the
xmlns:SOAP-ENV="http..."
and the SOAP-ENV:encodingStyle="http..."

are they correct or should it be xmlns:SOAP="http..." and
SOAP:encodingStyle="http..."

thanks, frank

POST /Mentis/Mentis.asp HTTP/1.0
Host: localhost:8080
Content-Type: text/xml
Content-Length: 1081
SOAPAction: http://twc/Mentis/Mentis.asp#Serviceability

<?xml version="1.0"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
        <SOAP-ENV:Body>
                <Serviceability>
                        <FRANK>test</FRANK>
                </Serviceability>
        </SOAP-ENV:Body>
</SOAP-ENV:Envelope>


> -----Original Message-----
> From: Simon Fell [mailto:soap@zaks.demon.co.uk]
> Sent: Thursday, January 04, 2001 2:29 PM
> To: soap-user@xml.apache.org
> Subject: Re: <soap> vs. <soap-env> problems
>
>
> ok, i think we're getting somewhere, this request is different from
> the one that works in more than just the SOAP / SOAP-ENV prefix. The
> one that works specifies the standard SOAP encoding,
> SOAP:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
>
> whilst the one that's failing is using an apache specific encoding
> SOAP-ENV:encodingStyle="http://xml.apache.org/xml-soap/literalxml"
>
> The server is failing because it doesn't know how to handle this
> encoding style. you need to change your request to specify the
> standard encoding style.
>
> Microsoft now have 2 SOAP toolkits, the first one they released has a
> core object called ROPE (Remote object proxy engine), whilst the new
> toolkit is called the SOAP SDK. I usually call the first toolkit the
> ROPE toolkit so that it's hopefully clear which one is being
> referenced (of course there's also all the SOAP stuff in the .NET beta
> as well)
>
> Cheers
> Simon
> www.pocketsoap.com
>
> On Thu, 4 Jan 2001 10:56:16 -0500, in soap you wrote:
>
> >Here's the transaction on a failure. the company on the
> other end swears
> >that they
> >have the latest version of the ms toolkit. if that were the
> case, would
> >their
> >transmission send back <soap> tags?????  seems like it would
> send back
> ><soap-env>
> >tags if they were using the lastest soap toolkit?
> >
> >rope toolkit? is that different than the soap toolkit?
> >
> >frank
> >
> >Here's the request...
> >##################################################################
> >POST /Mentis/Mentis.asp HTTP/1.0
> >Host: twc
> >Content-Type: text/xml
> >Content-Length: 841
> >SOAPAction: "http://twc/Mentis/Mentis.asp#Serviceability"
> >
> ><SOAP-ENV:Envelope
> >xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xm
> >lns:xsi="http://www.w3.org/1999/XMLSchema-instance"
> >xmlns:xsd="http://www.w3.org
> >/1999/XMLSchema">
> ><SOAP-ENV:Body>
> ><ns1:Serviceability xmlns:ns1="Mentis"
> >SOAP-ENV:encodingStyle="http://xml.apache
> >.org/xml-soap/literalxml">
> ><QuerySubscriberRequest>
> ><Serviceability>
> >                        <EXTERN_SYS_XREF>255</EXTERN_SYS_XREF>
> >                        <WFE_TRAN_TYPE>SERVICEABILITY</WFE_TRAN_TYPE>
> >                        <ADDRESS1>4308 ALLEN DR</ADDRESS1>
> >                        <ADDRESS2/>
> >                        <CITY>COLUMBUS</CITY>
> >                        <STATE>OH</STATE>
> >                        <ZIP>43213</ZIP>
> >                        <ZIP4/>
> >                        <HOME_PHONE>6143956456</HOME_PHONE>
> >                        <ACCOUNT_NO/>
> >                        <HOUSE_KEY/>
> >                        <STATUS_CODE>0</STATUS_CODE>
> >                        <ERROR_CODE>0</ERROR_CODE>
> >                        <DESCR/>
> >                </Serviceability>
> ></QuerySubscriberRequest>
> ></ns1:Serviceability>
> ></SOAP-ENV:Body>
> ></SOAP-ENV:Envelope>
> >
> >
> >Here's the response...
> >##################################################################
> >HTTP/1.1 200 OK
> >Server: Microsoft-IIS/4.0
> >Date: Tue, 02 Jan 2001 23:04:06 GMT
> >MessageType: CallResponse
> >Content-Type: text/xml
> >Expires: Tue, 02 Jan 2001 23:04:06 GMT
> >Set-Cookie: ASPSESSIONIDQQGQGRGK=DNNDGPABLDNIHENBPLJMPAPI; path=/
> >Cache-control: private
> >
> ><?xml version="1.0"?>
> ><SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
> >SOAP:encod
> >ingStyle="http://schemas.xmlsoap.org/soap/encoding/">
> ><SOAP:Body>
> >
> ><SOAP:Fault>
> ><faultcode>300</faultcode><faultstring>Nothing was
> >posted</faultstring><faultact
> >or>300</faultactor><detail>Nothing was posted</detail></SOAP:Fault>
> ></SOAP:Body>
> ></SOAP:Envelope>
> >
> >
> >> -----Original Message-----
> >> From: Simon Fell [mailto:soap@zaks.demon.co.uk]
> >> Sent: Thursday, January 04, 2001 1:25 PM
> >> To: soap-user@xml.apache.org
> >> Subject: Re: <soap> vs. <soap-env> problems
> >>
> >>
> >> but when the request uses SOAP-ENV, it fails, right ?. what's the
> >> reply look like in this case ?,
> >>
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> >For additional commands, email: soap-user-help@xml.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> For additional commands, email: soap-user-help@xml.apache.org
>


Re: vs. problems

Posted by Simon Fell <so...@zaks.demon.co.uk>.
ok, i think we're getting somewhere, this request is different from
the one that works in more than just the SOAP / SOAP-ENV prefix. The
one that works specifies the standard SOAP encoding, 
SOAP:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"

whilst the one that's failing is using an apache specific encoding
SOAP-ENV:encodingStyle="http://xml.apache.org/xml-soap/literalxml"

The server is failing because it doesn't know how to handle this
encoding style. you need to change your request to specify the
standard encoding style.

Microsoft now have 2 SOAP toolkits, the first one they released has a
core object called ROPE (Remote object proxy engine), whilst the new
toolkit is called the SOAP SDK. I usually call the first toolkit the
ROPE toolkit so that it's hopefully clear which one is being
referenced (of course there's also all the SOAP stuff in the .NET beta
as well)

Cheers
Simon
www.pocketsoap.com

On Thu, 4 Jan 2001 10:56:16 -0500, in soap you wrote:

>Here's the transaction on a failure. the company on the other end swears
>that they
>have the latest version of the ms toolkit. if that were the case, would
>their
>transmission send back <soap> tags?????  seems like it would send back
><soap-env>
>tags if they were using the lastest soap toolkit?
>
>rope toolkit? is that different than the soap toolkit?
>
>frank
>
>Here's the request...
>##################################################################
>POST /Mentis/Mentis.asp HTTP/1.0
>Host: twc
>Content-Type: text/xml
>Content-Length: 841
>SOAPAction: "http://twc/Mentis/Mentis.asp#Serviceability"
>
><SOAP-ENV:Envelope
>xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xm
>lns:xsi="http://www.w3.org/1999/XMLSchema-instance"
>xmlns:xsd="http://www.w3.org
>/1999/XMLSchema">
><SOAP-ENV:Body>
><ns1:Serviceability xmlns:ns1="Mentis"
>SOAP-ENV:encodingStyle="http://xml.apache
>.org/xml-soap/literalxml">
><QuerySubscriberRequest>
><Serviceability>
>                        <EXTERN_SYS_XREF>255</EXTERN_SYS_XREF>
>                        <WFE_TRAN_TYPE>SERVICEABILITY</WFE_TRAN_TYPE>
>                        <ADDRESS1>4308 ALLEN DR</ADDRESS1>
>                        <ADDRESS2/>
>                        <CITY>COLUMBUS</CITY>
>                        <STATE>OH</STATE>
>                        <ZIP>43213</ZIP>
>                        <ZIP4/>
>                        <HOME_PHONE>6143956456</HOME_PHONE>
>                        <ACCOUNT_NO/>
>                        <HOUSE_KEY/>
>                        <STATUS_CODE>0</STATUS_CODE>
>                        <ERROR_CODE>0</ERROR_CODE>
>                        <DESCR/>
>                </Serviceability>
></QuerySubscriberRequest>
></ns1:Serviceability>
></SOAP-ENV:Body>
></SOAP-ENV:Envelope>
>
>
>Here's the response...
>##################################################################
>HTTP/1.1 200 OK
>Server: Microsoft-IIS/4.0
>Date: Tue, 02 Jan 2001 23:04:06 GMT
>MessageType: CallResponse
>Content-Type: text/xml
>Expires: Tue, 02 Jan 2001 23:04:06 GMT
>Set-Cookie: ASPSESSIONIDQQGQGRGK=DNNDGPABLDNIHENBPLJMPAPI; path=/
>Cache-control: private
>
><?xml version="1.0"?>
><SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
>SOAP:encod
>ingStyle="http://schemas.xmlsoap.org/soap/encoding/">
><SOAP:Body>
>
><SOAP:Fault>
><faultcode>300</faultcode><faultstring>Nothing was
>posted</faultstring><faultact
>or>300</faultactor><detail>Nothing was posted</detail></SOAP:Fault>
></SOAP:Body>
></SOAP:Envelope>
>
>
>> -----Original Message-----
>> From: Simon Fell [mailto:soap@zaks.demon.co.uk]
>> Sent: Thursday, January 04, 2001 1:25 PM
>> To: soap-user@xml.apache.org
>> Subject: Re: <soap> vs. <soap-env> problems
>>
>>
>> but when the request uses SOAP-ENV, it fails, right ?. what's the
>> reply look like in this case ?,
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
>For additional commands, email: soap-user-help@xml.apache.org


Re: vs. problems

Posted by Simon Fell <so...@zaks.demon.co.uk>.
ok, i think we're getting somewhere, this request is different from
the one that works in more than just the SOAP / SOAP-ENV prefix. The
one that works specifies the standard SOAP encoding, 
SOAP:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"

whilst the one that's failing is using an apache specific encoding
SOAP-ENV:encodingStyle="http://xml.apache.org/xml-soap/literalxml"

The server is failing because it doesn't know how to handle this
encoding style. you need to change your request to specify the
standard encoding style.

Microsoft now have 2 SOAP toolkits, the first one they released has a
core object called ROPE (Remote object proxy engine), whilst the new
toolkit is called the SOAP SDK. I usually call the first toolkit the
ROPE toolkit so that it's hopefully clear which one is being
referenced (of course there's also all the SOAP stuff in the .NET beta
as well)

Cheers
Simon
www.pocketsoap.com

On Thu, 4 Jan 2001 10:56:16 -0500, in soap you wrote:

>Here's the transaction on a failure. the company on the other end swears
>that they
>have the latest version of the ms toolkit. if that were the case, would
>their
>transmission send back <soap> tags?????  seems like it would send back
><soap-env>
>tags if they were using the lastest soap toolkit?
>
>rope toolkit? is that different than the soap toolkit?
>
>frank
>
>Here's the request...
>##################################################################
>POST /Mentis/Mentis.asp HTTP/1.0
>Host: twc
>Content-Type: text/xml
>Content-Length: 841
>SOAPAction: "http://twc/Mentis/Mentis.asp#Serviceability"
>
><SOAP-ENV:Envelope
>xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xm
>lns:xsi="http://www.w3.org/1999/XMLSchema-instance"
>xmlns:xsd="http://www.w3.org
>/1999/XMLSchema">
><SOAP-ENV:Body>
><ns1:Serviceability xmlns:ns1="Mentis"
>SOAP-ENV:encodingStyle="http://xml.apache
>.org/xml-soap/literalxml">
><QuerySubscriberRequest>
><Serviceability>
>                        <EXTERN_SYS_XREF>255</EXTERN_SYS_XREF>
>                        <WFE_TRAN_TYPE>SERVICEABILITY</WFE_TRAN_TYPE>
>                        <ADDRESS1>4308 ALLEN DR</ADDRESS1>
>                        <ADDRESS2/>
>                        <CITY>COLUMBUS</CITY>
>                        <STATE>OH</STATE>
>                        <ZIP>43213</ZIP>
>                        <ZIP4/>
>                        <HOME_PHONE>6143956456</HOME_PHONE>
>                        <ACCOUNT_NO/>
>                        <HOUSE_KEY/>
>                        <STATUS_CODE>0</STATUS_CODE>
>                        <ERROR_CODE>0</ERROR_CODE>
>                        <DESCR/>
>                </Serviceability>
></QuerySubscriberRequest>
></ns1:Serviceability>
></SOAP-ENV:Body>
></SOAP-ENV:Envelope>
>
>
>Here's the response...
>##################################################################
>HTTP/1.1 200 OK
>Server: Microsoft-IIS/4.0
>Date: Tue, 02 Jan 2001 23:04:06 GMT
>MessageType: CallResponse
>Content-Type: text/xml
>Expires: Tue, 02 Jan 2001 23:04:06 GMT
>Set-Cookie: ASPSESSIONIDQQGQGRGK=DNNDGPABLDNIHENBPLJMPAPI; path=/
>Cache-control: private
>
><?xml version="1.0"?>
><SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
>SOAP:encod
>ingStyle="http://schemas.xmlsoap.org/soap/encoding/">
><SOAP:Body>
>
><SOAP:Fault>
><faultcode>300</faultcode><faultstring>Nothing was
>posted</faultstring><faultact
>or>300</faultactor><detail>Nothing was posted</detail></SOAP:Fault>
></SOAP:Body>
></SOAP:Envelope>
>
>
>> -----Original Message-----
>> From: Simon Fell [mailto:soap@zaks.demon.co.uk]
>> Sent: Thursday, January 04, 2001 1:25 PM
>> To: soap-user@xml.apache.org
>> Subject: Re: <soap> vs. <soap-env> problems
>>
>>
>> but when the request uses SOAP-ENV, it fails, right ?. what's the
>> reply look like in this case ?,
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
>For additional commands, email: soap-user-help@xml.apache.org


RE: vs. problems

Posted by Frank Starsinic <fs...@apengines.com>.
Here's the transaction on a failure. the company on the other end swears
that they
have the latest version of the ms toolkit. if that were the case, would
their
transmission send back <soap> tags?????  seems like it would send back
<soap-env>
tags if they were using the lastest soap toolkit?

rope toolkit? is that different than the soap toolkit?

frank

Here's the request...
##################################################################
POST /Mentis/Mentis.asp HTTP/1.0
Host: twc
Content-Type: text/xml
Content-Length: 841
SOAPAction: "http://twc/Mentis/Mentis.asp#Serviceability"

<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xm
lns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org
/1999/XMLSchema">
<SOAP-ENV:Body>
<ns1:Serviceability xmlns:ns1="Mentis"
SOAP-ENV:encodingStyle="http://xml.apache
.org/xml-soap/literalxml">
<QuerySubscriberRequest>
<Serviceability>
                        <EXTERN_SYS_XREF>255</EXTERN_SYS_XREF>
                        <WFE_TRAN_TYPE>SERVICEABILITY</WFE_TRAN_TYPE>
                        <ADDRESS1>4308 ALLEN DR</ADDRESS1>
                        <ADDRESS2/>
                        <CITY>COLUMBUS</CITY>
                        <STATE>OH</STATE>
                        <ZIP>43213</ZIP>
                        <ZIP4/>
                        <HOME_PHONE>6143956456</HOME_PHONE>
                        <ACCOUNT_NO/>
                        <HOUSE_KEY/>
                        <STATUS_CODE>0</STATUS_CODE>
                        <ERROR_CODE>0</ERROR_CODE>
                        <DESCR/>
                </Serviceability>
</QuerySubscriberRequest>
</ns1:Serviceability>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>


Here's the response...
##################################################################
HTTP/1.1 200 OK
Server: Microsoft-IIS/4.0
Date: Tue, 02 Jan 2001 23:04:06 GMT
MessageType: CallResponse
Content-Type: text/xml
Expires: Tue, 02 Jan 2001 23:04:06 GMT
Set-Cookie: ASPSESSIONIDQQGQGRGK=DNNDGPABLDNIHENBPLJMPAPI; path=/
Cache-control: private

<?xml version="1.0"?>
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
SOAP:encod
ingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP:Body>

<SOAP:Fault>
<faultcode>300</faultcode><faultstring>Nothing was
posted</faultstring><faultact
or>300</faultactor><detail>Nothing was posted</detail></SOAP:Fault>
</SOAP:Body>
</SOAP:Envelope>


> -----Original Message-----
> From: Simon Fell [mailto:soap@zaks.demon.co.uk]
> Sent: Thursday, January 04, 2001 1:25 PM
> To: soap-user@xml.apache.org
> Subject: Re: <soap> vs. <soap-env> problems
>
>
> but when the request uses SOAP-ENV, it fails, right ?. what's the
> reply look like in this case ?,
>


RE: vs. problems

Posted by Frank Starsinic <fs...@apengines.com>.
Here's the transaction on a failure. the company on the other end swears
that they
have the latest version of the ms toolkit. if that were the case, would
their
transmission send back <soap> tags?????  seems like it would send back
<soap-env>
tags if they were using the lastest soap toolkit?

rope toolkit? is that different than the soap toolkit?

frank

Here's the request...
##################################################################
POST /Mentis/Mentis.asp HTTP/1.0
Host: twc
Content-Type: text/xml
Content-Length: 841
SOAPAction: "http://twc/Mentis/Mentis.asp#Serviceability"

<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xm
lns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org
/1999/XMLSchema">
<SOAP-ENV:Body>
<ns1:Serviceability xmlns:ns1="Mentis"
SOAP-ENV:encodingStyle="http://xml.apache
.org/xml-soap/literalxml">
<QuerySubscriberRequest>
<Serviceability>
                        <EXTERN_SYS_XREF>255</EXTERN_SYS_XREF>
                        <WFE_TRAN_TYPE>SERVICEABILITY</WFE_TRAN_TYPE>
                        <ADDRESS1>4308 ALLEN DR</ADDRESS1>
                        <ADDRESS2/>
                        <CITY>COLUMBUS</CITY>
                        <STATE>OH</STATE>
                        <ZIP>43213</ZIP>
                        <ZIP4/>
                        <HOME_PHONE>6143956456</HOME_PHONE>
                        <ACCOUNT_NO/>
                        <HOUSE_KEY/>
                        <STATUS_CODE>0</STATUS_CODE>
                        <ERROR_CODE>0</ERROR_CODE>
                        <DESCR/>
                </Serviceability>
</QuerySubscriberRequest>
</ns1:Serviceability>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>


Here's the response...
##################################################################
HTTP/1.1 200 OK
Server: Microsoft-IIS/4.0
Date: Tue, 02 Jan 2001 23:04:06 GMT
MessageType: CallResponse
Content-Type: text/xml
Expires: Tue, 02 Jan 2001 23:04:06 GMT
Set-Cookie: ASPSESSIONIDQQGQGRGK=DNNDGPABLDNIHENBPLJMPAPI; path=/
Cache-control: private

<?xml version="1.0"?>
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
SOAP:encod
ingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP:Body>

<SOAP:Fault>
<faultcode>300</faultcode><faultstring>Nothing was
posted</faultstring><faultact
or>300</faultactor><detail>Nothing was posted</detail></SOAP:Fault>
</SOAP:Body>
</SOAP:Envelope>


> -----Original Message-----
> From: Simon Fell [mailto:soap@zaks.demon.co.uk]
> Sent: Thursday, January 04, 2001 1:25 PM
> To: soap-user@xml.apache.org
> Subject: Re: <soap> vs. <soap-env> problems
>
>
> but when the request uses SOAP-ENV, it fails, right ?. what's the
> reply look like in this case ?,
>


Re: vs. problems

Posted by Simon Fell <so...@zaks.demon.co.uk>.
but when the request uses SOAP-ENV, it fails, right ?. what's the
reply look like in this case ?, I've been testing pocketSOAP with the
november release of the ROPE toolkit, and that doesn't give any
problems (pocketSOAP uses just S as its prefix). You really need to
find out exactly which release of the ROPE toolkit they're using. (and
most likely get them to update it)

Cheers
Simon
www.pocketsoap.com


On Thu, 4 Jan 2001 09:13:14 -0500, in soap you wrote:

>Here is an actual transaction. As i said before, i had them install
>the apache_listener.asp.
>
>Thanks!
>
>frank
>


Re: vs. problems

Posted by Simon Fell <so...@zaks.demon.co.uk>.
but when the request uses SOAP-ENV, it fails, right ?. what's the
reply look like in this case ?, I've been testing pocketSOAP with the
november release of the ROPE toolkit, and that doesn't give any
problems (pocketSOAP uses just S as its prefix). You really need to
find out exactly which release of the ROPE toolkit they're using. (and
most likely get them to update it)

Cheers
Simon
www.pocketsoap.com


On Thu, 4 Jan 2001 09:13:14 -0500, in soap you wrote:

>Here is an actual transaction. As i said before, i had them install
>the apache_listener.asp.
>
>Thanks!
>
>frank
>


RE: vs. problems

Posted by Frank Starsinic <fs...@apengines.com>.
Here is an actual transaction. As i said before, i had them install
the apache_listener.asp.

Thanks!

frank

Here is the Request...
############################################################################
#
POST /Mentis/Mentis.asp HTTP/1.0
Host: localhost:8080
Content-Type: text/xml
Content-Length: 1057
SOAPAction: http://twc/Mentis/Mentis.asp#Serviceability

<?xml version="1.0"?>
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
SOAP:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
        <SOAP:Body>
                <Serviceability>
                        <EXTERN_SYS_XREF>255</EXTERN_SYS_XREF>
                        <WFE_TRAN_TYPE>SERVICEABILITY</WFE_TRAN_TYPE>
                        <ADDRESS1>4308 ALLEN DR</ADDRESS1>
                        <ADDRESS2></ADDRESS2>
                        <CITY>COLUMBUS</CITY>
                        <STATE>OH</STATE>
                        <ZIP>43213</ZIP>
                        <ZIP4></ZIP4>
                        <HOME_PHONE>6143956456</HOME_PHONE>
                        <ACCOUNT_NO></ACCOUNT_NO>
                        <HOUSE_KEY></HOUSE_KEY>
                        <STATUS_CODE>0</STATUS_CODE>
                        <ERROR_CODE>0</ERROR_CODE>
                        <DESCR></DESCR>
                        <FRANK>test</FRANK>
                </Serviceability>
        </SOAP:Body>
</SOAP:Envelope>

Here is the Response...
############################################################################
#
HTTP/1.1 200 OK
Server: Microsoft-IIS/4.0
Date: Thu, 04 Jan 2001 00:46:39 GMT
Content-Type: text/xml; charset="utf-8"
Expires: Thu, 04 Jan 2001 00:46:31 GMT
Set-Cookie: ASPSESSIONIDGQGQQQDC=JKIJDLMBNMGGEGLNHMHIIGME; path=/
Cache-control: private

<?xml version="1.0"?>
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
SOAP:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema">
	<SOAP:Body>
		<ServiceabilityResponse>
			<EXTERN_SYS_XREF xsi:type="xsd:string">255</EXTERN_SYS_XREF>
			<WFE_TRAN_TYPE xsi:type="xsd:string">SERVICEABILITY</WFE_TRAN_TYPE>
			<ADDRESS1 xsi:type="xsd:string">4308 ALLEN DR</ADDRESS1>
			<ADDRESS2 xsi:type="xsd:string"></ADDRESS2>
			<CITY xsi:type="xsd:string">COLUMBUS</CITY>
			<STATE xsi:type="xsd:string">OH</STATE>
			<ZIP xsi:type="xsd:string">43213</ZIP>
			<ZIP4 xsi:type="xsd:string">0000</ZIP4>
			<HOME_PHONE xsi:type="xsd:string">6143956456</HOME_PHONE>
			<ACCOUNT_NO xsi:type="xsd:string">NULL</ACCOUNT_NO>
			<HOUSE_KEY xsi:type="xsd:string">43213183200045</HOUSE_KEY>
			<STATUS_CODE xsi:type="xsd:integer">1</STATUS_CODE>
			<ERROR_CODE xsi:type="xsd:integer">206</ERROR_CODE>
			<DESCR xsi:type="xsd:string">SR - Account status not acceptable</DESCR>
		</ServiceabilityResponse>
	</SOAP:Body>
</SOAP:Envelope>

-----Original Message-----
From: Simon Fell [mailto:soap@zaks.demon.co.uk]
Sent: Wednesday, January 03, 2001 9:41 PM
To: soap-user@xml.apache.org
Subject: Re: <soap> vs. <soap-env> problems


Can you post a valid reply you get from the server, this might be able
to tell us what version of the MS code the server is running.

Cheers
Simon
www.pcoketsoap.com



RE: vs. problems

Posted by Frank Starsinic <fs...@apengines.com>.
Here is an actual transaction. As i said before, i had them install
the apache_listener.asp.

Thanks!

frank

Here is the Request...
############################################################################
#
POST /Mentis/Mentis.asp HTTP/1.0
Host: localhost:8080
Content-Type: text/xml
Content-Length: 1057
SOAPAction: http://twc/Mentis/Mentis.asp#Serviceability

<?xml version="1.0"?>
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
SOAP:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
        <SOAP:Body>
                <Serviceability>
                        <EXTERN_SYS_XREF>255</EXTERN_SYS_XREF>
                        <WFE_TRAN_TYPE>SERVICEABILITY</WFE_TRAN_TYPE>
                        <ADDRESS1>4308 ALLEN DR</ADDRESS1>
                        <ADDRESS2></ADDRESS2>
                        <CITY>COLUMBUS</CITY>
                        <STATE>OH</STATE>
                        <ZIP>43213</ZIP>
                        <ZIP4></ZIP4>
                        <HOME_PHONE>6143956456</HOME_PHONE>
                        <ACCOUNT_NO></ACCOUNT_NO>
                        <HOUSE_KEY></HOUSE_KEY>
                        <STATUS_CODE>0</STATUS_CODE>
                        <ERROR_CODE>0</ERROR_CODE>
                        <DESCR></DESCR>
                        <FRANK>test</FRANK>
                </Serviceability>
        </SOAP:Body>
</SOAP:Envelope>

Here is the Response...
############################################################################
#
HTTP/1.1 200 OK
Server: Microsoft-IIS/4.0
Date: Thu, 04 Jan 2001 00:46:39 GMT
Content-Type: text/xml; charset="utf-8"
Expires: Thu, 04 Jan 2001 00:46:31 GMT
Set-Cookie: ASPSESSIONIDGQGQQQDC=JKIJDLMBNMGGEGLNHMHIIGME; path=/
Cache-control: private

<?xml version="1.0"?>
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
SOAP:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema">
	<SOAP:Body>
		<ServiceabilityResponse>
			<EXTERN_SYS_XREF xsi:type="xsd:string">255</EXTERN_SYS_XREF>
			<WFE_TRAN_TYPE xsi:type="xsd:string">SERVICEABILITY</WFE_TRAN_TYPE>
			<ADDRESS1 xsi:type="xsd:string">4308 ALLEN DR</ADDRESS1>
			<ADDRESS2 xsi:type="xsd:string"></ADDRESS2>
			<CITY xsi:type="xsd:string">COLUMBUS</CITY>
			<STATE xsi:type="xsd:string">OH</STATE>
			<ZIP xsi:type="xsd:string">43213</ZIP>
			<ZIP4 xsi:type="xsd:string">0000</ZIP4>
			<HOME_PHONE xsi:type="xsd:string">6143956456</HOME_PHONE>
			<ACCOUNT_NO xsi:type="xsd:string">NULL</ACCOUNT_NO>
			<HOUSE_KEY xsi:type="xsd:string">43213183200045</HOUSE_KEY>
			<STATUS_CODE xsi:type="xsd:integer">1</STATUS_CODE>
			<ERROR_CODE xsi:type="xsd:integer">206</ERROR_CODE>
			<DESCR xsi:type="xsd:string">SR - Account status not acceptable</DESCR>
		</ServiceabilityResponse>
	</SOAP:Body>
</SOAP:Envelope>

-----Original Message-----
From: Simon Fell [mailto:soap@zaks.demon.co.uk]
Sent: Wednesday, January 03, 2001 9:41 PM
To: soap-user@xml.apache.org
Subject: Re: <soap> vs. <soap-env> problems


Can you post a valid reply you get from the server, this might be able
to tell us what version of the MS code the server is running.

Cheers
Simon
www.pcoketsoap.com



Re: vs. problems

Posted by Simon Fell <so...@zaks.demon.co.uk>.
Can you post a valid reply you get from the server, this might be able
to tell us what version of the MS code the server is running.

Cheers
Simon
www.pcoketsoap.com

On Wed, 3 Jan 2001 18:05:51 -0500, in soap you wrote:

>i'm using the apache API and for sure it's creating <soap-env> tags.
>
>when  i POST a soap packet to the microsoft server with any
><soap-env> tags, it completely rejects the whole packet.
>
>when i POST a soap packet to the server and use <soap> instead
>with everything else the same, the server handles it just fine
>and sends back the expected response.
>
>since apache soap can't send a <soap> tag and only a <soap-env> tag,
>i'm actually doing a straight HTTP Post to the server and am
>hardcoding the packet for testing.
>
>it seems like i'm experiencing the issue you brought up in your article
>and in particular, this portion...
>
>>>>"Microsoft toolkit for example, which uses the prefix "SOAP," without the
>"-ENV" "<<<
>
>
>who knows...
>
>
>frank
>
>-----Original Message-----
>From: Simon Fell [mailto:soap@zaks.demon.co.uk]
>Sent: Wednesday, January 03, 2001 8:46 PM
>To: soap-user@xml.apache.org
>Subject: Re: <soap> vs. <soap-env> problems
>
>
>I'm now fairly sure that the MS toolkit actually uses SOAP-ENV.
>Looking at James review, its possible it may be an apache problem
>http://windows.oreilly.com/news/soap_0800.html
>are you running a recent version of Apache SOAP ?
>
>Cheers
>Simon
>www.pocketsoap.com
>
>On Wed, 3 Jan 2001 15:53:05 -0500, in soap you wrote:
>
>>We're using Apache Soap and communicating with a company that uses the
>>Microsoft Soap toolkit.
>>
>>after testing it is apparent that their server will only understand the
>>
>><soap> tag and not the <soap-env> tag.
>>
>>also, after looking through the apache soap source code, it doesn't
>>look possible (without changing the apache source) to send a
>><soap> tag. looks like only the <soap-env> tag can get sent.
>>
>>is there a workaround for this problem.
>>
>>
>>thanks,
>>
>>
>>frank
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
>>For additional commands, email: soap-user-help@xml.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
>For additional commands, email: soap-user-help@xml.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
>For additional commands, email: soap-user-help@xml.apache.org


Re: vs. problems

Posted by Simon Fell <so...@zaks.demon.co.uk>.
Can you post a valid reply you get from the server, this might be able
to tell us what version of the MS code the server is running.

Cheers
Simon
www.pcoketsoap.com

On Wed, 3 Jan 2001 18:05:51 -0500, in soap you wrote:

>i'm using the apache API and for sure it's creating <soap-env> tags.
>
>when  i POST a soap packet to the microsoft server with any
><soap-env> tags, it completely rejects the whole packet.
>
>when i POST a soap packet to the server and use <soap> instead
>with everything else the same, the server handles it just fine
>and sends back the expected response.
>
>since apache soap can't send a <soap> tag and only a <soap-env> tag,
>i'm actually doing a straight HTTP Post to the server and am
>hardcoding the packet for testing.
>
>it seems like i'm experiencing the issue you brought up in your article
>and in particular, this portion...
>
>>>>"Microsoft toolkit for example, which uses the prefix "SOAP," without the
>"-ENV" "<<<
>
>
>who knows...
>
>
>frank
>
>-----Original Message-----
>From: Simon Fell [mailto:soap@zaks.demon.co.uk]
>Sent: Wednesday, January 03, 2001 8:46 PM
>To: soap-user@xml.apache.org
>Subject: Re: <soap> vs. <soap-env> problems
>
>
>I'm now fairly sure that the MS toolkit actually uses SOAP-ENV.
>Looking at James review, its possible it may be an apache problem
>http://windows.oreilly.com/news/soap_0800.html
>are you running a recent version of Apache SOAP ?
>
>Cheers
>Simon
>www.pocketsoap.com
>
>On Wed, 3 Jan 2001 15:53:05 -0500, in soap you wrote:
>
>>We're using Apache Soap and communicating with a company that uses the
>>Microsoft Soap toolkit.
>>
>>after testing it is apparent that their server will only understand the
>>
>><soap> tag and not the <soap-env> tag.
>>
>>also, after looking through the apache soap source code, it doesn't
>>look possible (without changing the apache source) to send a
>><soap> tag. looks like only the <soap-env> tag can get sent.
>>
>>is there a workaround for this problem.
>>
>>
>>thanks,
>>
>>
>>frank
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
>>For additional commands, email: soap-user-help@xml.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
>For additional commands, email: soap-user-help@xml.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
>For additional commands, email: soap-user-help@xml.apache.org


RE: vs. problems

Posted by Frank Starsinic <fs...@apengines.com>.
i'm using the apache API and for sure it's creating <soap-env> tags.

when  i POST a soap packet to the microsoft server with any
<soap-env> tags, it completely rejects the whole packet.

when i POST a soap packet to the server and use <soap> instead
with everything else the same, the server handles it just fine
and sends back the expected response.

since apache soap can't send a <soap> tag and only a <soap-env> tag,
i'm actually doing a straight HTTP Post to the server and am
hardcoding the packet for testing.

it seems like i'm experiencing the issue you brought up in your article
and in particular, this portion...

>>>"Microsoft toolkit for example, which uses the prefix "SOAP," without the
"-ENV" "<<<


who knows...


frank

-----Original Message-----
From: Simon Fell [mailto:soap@zaks.demon.co.uk]
Sent: Wednesday, January 03, 2001 8:46 PM
To: soap-user@xml.apache.org
Subject: Re: <soap> vs. <soap-env> problems


I'm now fairly sure that the MS toolkit actually uses SOAP-ENV.
Looking at James review, its possible it may be an apache problem
http://windows.oreilly.com/news/soap_0800.html
are you running a recent version of Apache SOAP ?

Cheers
Simon
www.pocketsoap.com

On Wed, 3 Jan 2001 15:53:05 -0500, in soap you wrote:

>We're using Apache Soap and communicating with a company that uses the
>Microsoft Soap toolkit.
>
>after testing it is apparent that their server will only understand the
>
><soap> tag and not the <soap-env> tag.
>
>also, after looking through the apache soap source code, it doesn't
>look possible (without changing the apache source) to send a
><soap> tag. looks like only the <soap-env> tag can get sent.
>
>is there a workaround for this problem.
>
>
>thanks,
>
>
>frank
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
>For additional commands, email: soap-user-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


RE: vs. problems

Posted by Frank Starsinic <fs...@apengines.com>.
i'm using the apache API and for sure it's creating <soap-env> tags.

when  i POST a soap packet to the microsoft server with any
<soap-env> tags, it completely rejects the whole packet.

when i POST a soap packet to the server and use <soap> instead
with everything else the same, the server handles it just fine
and sends back the expected response.

since apache soap can't send a <soap> tag and only a <soap-env> tag,
i'm actually doing a straight HTTP Post to the server and am
hardcoding the packet for testing.

it seems like i'm experiencing the issue you brought up in your article
and in particular, this portion...

>>>"Microsoft toolkit for example, which uses the prefix "SOAP," without the
"-ENV" "<<<


who knows...


frank

-----Original Message-----
From: Simon Fell [mailto:soap@zaks.demon.co.uk]
Sent: Wednesday, January 03, 2001 8:46 PM
To: soap-user@xml.apache.org
Subject: Re: <soap> vs. <soap-env> problems


I'm now fairly sure that the MS toolkit actually uses SOAP-ENV.
Looking at James review, its possible it may be an apache problem
http://windows.oreilly.com/news/soap_0800.html
are you running a recent version of Apache SOAP ?

Cheers
Simon
www.pocketsoap.com

On Wed, 3 Jan 2001 15:53:05 -0500, in soap you wrote:

>We're using Apache Soap and communicating with a company that uses the
>Microsoft Soap toolkit.
>
>after testing it is apparent that their server will only understand the
>
><soap> tag and not the <soap-env> tag.
>
>also, after looking through the apache soap source code, it doesn't
>look possible (without changing the apache source) to send a
><soap> tag. looks like only the <soap-env> tag can get sent.
>
>is there a workaround for this problem.
>
>
>thanks,
>
>
>frank
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
>For additional commands, email: soap-user-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


Re: vs. problems

Posted by Simon Fell <so...@zaks.demon.co.uk>.
I'm now fairly sure that the MS toolkit actually uses SOAP-ENV.
Looking at James review, its possible it may be an apache problem
http://windows.oreilly.com/news/soap_0800.html
are you running a recent version of Apache SOAP ?

Cheers
Simon
www.pocketsoap.com

On Wed, 3 Jan 2001 15:53:05 -0500, in soap you wrote:

>We're using Apache Soap and communicating with a company that uses the 
>Microsoft Soap toolkit.
>
>after testing it is apparent that their server will only understand the 
>
><soap> tag and not the <soap-env> tag.
>
>also, after looking through the apache soap source code, it doesn't 
>look possible (without changing the apache source) to send a 
><soap> tag. looks like only the <soap-env> tag can get sent.
>
>is there a workaround for this problem.
>
>
>thanks,
>
>
>frank
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
>For additional commands, email: soap-user-help@xml.apache.org


Re: vs. problems

Posted by Simon Fell <so...@zaks.demon.co.uk>.
all the recent versions of the MS toolkit (july onwards) should cope
with a soap-env prefix for the namespace. The normal apache<->MS
interop problem lies in the fact that apache requires all the elements
to typed via an xsi:type attribute and the fact that the MS toolkit
never does this. James Snell has a fix for the microsoft end on
www.soap-wrc.com.

Cheers
Simon
www.pocketsoap.com

On Wed, 3 Jan 2001 15:53:05 -0500, in soap you wrote:

>We're using Apache Soap and communicating with a company that uses the 
>Microsoft Soap toolkit.
>
>after testing it is apparent that their server will only understand the 
>
><soap> tag and not the <soap-env> tag.
>
>also, after looking through the apache soap source code, it doesn't 
>look possible (without changing the apache source) to send a 
><soap> tag. looks like only the <soap-env> tag can get sent.
>
>is there a workaround for this problem.
>
>
>thanks,
>
>
>frank
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
>For additional commands, email: soap-user-help@xml.apache.org


Re: vs. problems

Posted by Simon Fell <so...@zaks.demon.co.uk>.
I'm now fairly sure that the MS toolkit actually uses SOAP-ENV.
Looking at James review, its possible it may be an apache problem
http://windows.oreilly.com/news/soap_0800.html
are you running a recent version of Apache SOAP ?

Cheers
Simon
www.pocketsoap.com

On Wed, 3 Jan 2001 15:53:05 -0500, in soap you wrote:

>We're using Apache Soap and communicating with a company that uses the 
>Microsoft Soap toolkit.
>
>after testing it is apparent that their server will only understand the 
>
><soap> tag and not the <soap-env> tag.
>
>also, after looking through the apache soap source code, it doesn't 
>look possible (without changing the apache source) to send a 
><soap> tag. looks like only the <soap-env> tag can get sent.
>
>is there a workaround for this problem.
>
>
>thanks,
>
>
>frank
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
>For additional commands, email: soap-user-help@xml.apache.org


Re: vs. problems

Posted by Simon Fell <so...@zaks.demon.co.uk>.
all the recent versions of the MS toolkit (july onwards) should cope
with a soap-env prefix for the namespace. The normal apache<->MS
interop problem lies in the fact that apache requires all the elements
to typed via an xsi:type attribute and the fact that the MS toolkit
never does this. James Snell has a fix for the microsoft end on
www.soap-wrc.com.

Cheers
Simon
www.pocketsoap.com

On Wed, 3 Jan 2001 15:53:05 -0500, in soap you wrote:

>We're using Apache Soap and communicating with a company that uses the 
>Microsoft Soap toolkit.
>
>after testing it is apparent that their server will only understand the 
>
><soap> tag and not the <soap-env> tag.
>
>also, after looking through the apache soap source code, it doesn't 
>look possible (without changing the apache source) to send a 
><soap> tag. looks like only the <soap-env> tag can get sent.
>
>is there a workaround for this problem.
>
>
>thanks,
>
>
>frank
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
>For additional commands, email: soap-user-help@xml.apache.org