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 H....@ce-ag.com on 2000/09/21 17:39:51 UTC

Sample Envelope

Can anyone sand me a sample envelope.
I don't have an IIS running, but I need to know, how a response is built.
Let's assume a string is returned.

Thanks

Re: What is the reason for me to use SOAP?

Posted by Ulrich Mayring <ul...@denic.de>.
Gouker wrote:
> 
> With SOAP, you are invoking methods across the web (through http which
> means
> everyone can use it) as if it's inside your own memory space. Very cool!

If everyone can use it, then how can I use SOAP from a Perl program?

Ulrich

-- 
Ulrich Mayring
DENIC eG, Systementwicklung

Re: What is the reason for me to use SOAP?

Posted by Ulrich Mayring <ul...@denic.de>.
Gouker wrote:
> 
> With SOAP, you are invoking methods across the web (through http which
> means
> everyone can use it) as if it's inside your own memory space. Very cool!

If everyone can use it, then how can I use SOAP from a Perl program?

Ulrich

-- 
Ulrich Mayring
DENIC eG, Systementwicklung

RE: What is the reason for me to use SOAP?

Posted by Gouker <go...@bellsouth.net>.
Because it's not just data that you're moving! XML Data is state. XML Data
that are call invocations (like in Soap) is behavior.

With SOAP, you are invoking methods across the web (through http which means
everyone can use it) as if it's inside your own memory space. Very cool!

Best regards,

Michael Gouker


-----Original Message-----
From: jorgem@mail.yourfit.com [mailto:jorgem@mail.yourfit.com]On Behalf
Of Jorge Martinez
Sent: Thursday, September 21, 2000 4:23 PM
To: soap-user@xml.apache.org
Subject: Re: What is the reason for me to use SOAP?


Hello there:

I also have a question in the same line. Another team member suggested, 'why
not just move the xml data from point A to point B with a simple POST (or
use
a PHP fopen to get the data from the customer's site), instead of having to
go through SOAP, wouldn't the same result be achieved'.  Since I am just
getting started with SOAP, and trying to get it set up, I wonder if somebody
could explain why SOAP is needed. Again sorry if this is a FAQ...

Jorge M.

Olof Edlund wrote:

> Hi,
>
> I'm working on a solution with Resin 1.2b2 where I have JSP pages that
> produce XML that I then transform to HTML (but maybe WAP and other formats
> in the future).
>
> My question is, without fully grasping SOAP yet, does it fit in my design
> somewhere? Is there a benefit to using SOAP to create web pages? Can it be
> done?
>
> I'm sorry if this is a FAQ, only, I can't find a FAQ.
>
> Thanks,
>
>         Olof Edlund



RE: What is the reason for me to use SOAP?

Posted by Gouker <go...@bellsouth.net>.
Because it's not just data that you're moving! XML Data is state. XML Data
that are call invocations (like in Soap) is behavior.

With SOAP, you are invoking methods across the web (through http which means
everyone can use it) as if it's inside your own memory space. Very cool!

Best regards,

Michael Gouker


-----Original Message-----
From: jorgem@mail.yourfit.com [mailto:jorgem@mail.yourfit.com]On Behalf
Of Jorge Martinez
Sent: Thursday, September 21, 2000 4:23 PM
To: soap-user@xml.apache.org
Subject: Re: What is the reason for me to use SOAP?


Hello there:

I also have a question in the same line. Another team member suggested, 'why
not just move the xml data from point A to point B with a simple POST (or
use
a PHP fopen to get the data from the customer's site), instead of having to
go through SOAP, wouldn't the same result be achieved'.  Since I am just
getting started with SOAP, and trying to get it set up, I wonder if somebody
could explain why SOAP is needed. Again sorry if this is a FAQ...

Jorge M.

Olof Edlund wrote:

> Hi,
>
> I'm working on a solution with Resin 1.2b2 where I have JSP pages that
> produce XML that I then transform to HTML (but maybe WAP and other formats
> in the future).
>
> My question is, without fully grasping SOAP yet, does it fit in my design
> somewhere? Is there a benefit to using SOAP to create web pages? Can it be
> done?
>
> I'm sorry if this is a FAQ, only, I can't find a FAQ.
>
> Thanks,
>
>         Olof Edlund



Re: What is the reason for me to use SOAP?

Posted by Jorge Martinez <jo...@mail.yourfit.com>.
Hello there:

I also have a question in the same line. Another team member suggested, 'why
not just move the xml data from point A to point B with a simple POST (or use
a PHP fopen to get the data from the customer's site), instead of having to
go through SOAP, wouldn't the same result be achieved'.  Since I am just
getting started with SOAP, and trying to get it set up, I wonder if somebody
could explain why SOAP is needed. Again sorry if this is a FAQ...

Jorge M.

Olof Edlund wrote:

> Hi,
>
> I'm working on a solution with Resin 1.2b2 where I have JSP pages that
> produce XML that I then transform to HTML (but maybe WAP and other formats
> in the future).
>
> My question is, without fully grasping SOAP yet, does it fit in my design
> somewhere? Is there a benefit to using SOAP to create web pages? Can it be
> done?
>
> I'm sorry if this is a FAQ, only, I can't find a FAQ.
>
> Thanks,
>
>         Olof Edlund


Re: What is the reason for me to use SOAP?

Posted by Jorge Martinez <jo...@mail.yourfit.com>.
Hello there:

I also have a question in the same line. Another team member suggested, 'why
not just move the xml data from point A to point B with a simple POST (or use
a PHP fopen to get the data from the customer's site), instead of having to
go through SOAP, wouldn't the same result be achieved'.  Since I am just
getting started with SOAP, and trying to get it set up, I wonder if somebody
could explain why SOAP is needed. Again sorry if this is a FAQ...

Jorge M.

Olof Edlund wrote:

> Hi,
>
> I'm working on a solution with Resin 1.2b2 where I have JSP pages that
> produce XML that I then transform to HTML (but maybe WAP and other formats
> in the future).
>
> My question is, without fully grasping SOAP yet, does it fit in my design
> somewhere? Is there a benefit to using SOAP to create web pages? Can it be
> done?
>
> I'm sorry if this is a FAQ, only, I can't find a FAQ.
>
> Thanks,
>
>         Olof Edlund


What is the reason for me to use SOAP?

Posted by Olof Edlund <o....@upright.se>.
Hi,

I'm working on a solution with Resin 1.2b2 where I have JSP pages that
produce XML that I then transform to HTML (but maybe WAP and other formats
in the future).

My question is, without fully grasping SOAP yet, does it fit in my design
somewhere? Is there a benefit to using SOAP to create web pages? Can it be
done?

I'm sorry if this is a FAQ, only, I can't find a FAQ.

Thanks,

	Olof Edlund


What is the reason for me to use SOAP?

Posted by Olof Edlund <o....@upright.se>.
Hi,

I'm working on a solution with Resin 1.2b2 where I have JSP pages that
produce XML that I then transform to HTML (but maybe WAP and other formats
in the future).

My question is, without fully grasping SOAP yet, does it fit in my design
somewhere? Is there a benefit to using SOAP to create web pages? Can it be
done?

I'm sorry if this is a FAQ, only, I can't find a FAQ.

Thanks,

	Olof Edlund


Re: Sample Envelope

Posted by Rich Johns <rj...@vignette.com>.
Here is a request and and response using tomcat:

request:

POST /soap/servlet/rpcrouter HTTP/1.0
Host: localhost:8081
Content-Type: text/xml
Content-Length: 363
SOAPAction: ""


<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Body>
<ns1:create xmlns:ns1="FooBarBazHome"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
</ns1:create>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

response:

HTTP/1.0 200 OK
Date: Fri, 08 Sep 2000 13:42:16 GMT
Status: 200
Set-Cookie2: JSESSIONID=To1011mC8078085854282574At;Version=1;Discard;Path="/soap"
Servlet-Engine: Tomcat Web Server/3.1 (JSP 1.1; Servlet 2.2; Java 1.3.0rc3; Windows NT 4.0 x86;
java.vendor=Sun Microsystems Inc.)
Set-Cookie: JSESSIONID=To1011mC8078085854282574At;Path=/soap
Content-Type: text/xml; charset=UTF-8
Content-Length: 443
Content-Language: en

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Body>
<ns1:createResponse xmlns:ns1="FooBarBazHome"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<return xsi:type="xsd:string">3bd23f:e17a5cb046:-8000</return>
</ns1:createResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

H.Hornig@ce-ag.com wrote:

> Can anyone sand me a sample envelope.
> I don't have an IIS running, but I need to know, how a response is built.
> Let's assume a string is returned.
>
> Thanks


Re: Sample Envelope

Posted by Rich Johns <rj...@vignette.com>.
Here is a request and and response using tomcat:

request:

POST /soap/servlet/rpcrouter HTTP/1.0
Host: localhost:8081
Content-Type: text/xml
Content-Length: 363
SOAPAction: ""


<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Body>
<ns1:create xmlns:ns1="FooBarBazHome"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
</ns1:create>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

response:

HTTP/1.0 200 OK
Date: Fri, 08 Sep 2000 13:42:16 GMT
Status: 200
Set-Cookie2: JSESSIONID=To1011mC8078085854282574At;Version=1;Discard;Path="/soap"
Servlet-Engine: Tomcat Web Server/3.1 (JSP 1.1; Servlet 2.2; Java 1.3.0rc3; Windows NT 4.0 x86;
java.vendor=Sun Microsystems Inc.)
Set-Cookie: JSESSIONID=To1011mC8078085854282574At;Path=/soap
Content-Type: text/xml; charset=UTF-8
Content-Length: 443
Content-Language: en

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Body>
<ns1:createResponse xmlns:ns1="FooBarBazHome"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<return xsi:type="xsd:string">3bd23f:e17a5cb046:-8000</return>
</ns1:createResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

H.Hornig@ce-ag.com wrote:

> Can anyone sand me a sample envelope.
> I don't have an IIS running, but I need to know, how a response is built.
> Let's assume a string is returned.
>
> Thanks