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 Halestino Pimentel <et...@alunos.cic.ua.pt> on 2001/05/26 17:00:01 UTC

SOAP without RPC

Is it possible to use SOAP without RPC?
If so, how can I manage the sessions?

Thank's

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


Re: SOAP without RPC

Posted by Travis Song <tr...@esumtech.com>.
Hi all.
The message below is a sent message with one attachment in the sample.mime example.
This example uses call to invoke remote method. Of course it is "SOAP with RPC", strictly speaking. Is there any way that 
we can add elements in the SOAP Evelope so that we can generate a message such as an ebXML.


POST /soap/servlet/rpcrouter HTTP/1.0

Host: localhost:8070

Content-Type: multipart/related; boundary="----=_Part_0_529641.991045815370"; type="text/xml"; start="449364.991045815480.apache-soap.travis.travis"

Content-Length: 884

SOAPAction: ""



------=_Part_0_529641.991045815370

Content-Type: text/xml; charset=utf-8

Content-Transfer-Encoding: 8bit

Content-ID: <449364.991045815480.apache-soap.travis.travis>

Content-Length: 468



<?xml version='1.0' encoding='UTF-8'?>

<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:sendFile xmlns:ns1="urn:mime" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">

<addedfile href ="cid:5352659.991045815370.apache-soap.travis.travis"/>

</ns1:sendFile>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

------=_Part_0_529641.991045815370

Content-Type: text/plain

Content-Transfer-Encoding: 7bit

Content-ID: <5352659.991045815370.apache-soap.travis.travis>

Content-Length: 4



bar!

------=_Part_0_529641.991045815370--
Travis Song
Engineer
eSum Technologies Inc.,
XML-Based Solutions R&D
Sungbo Yeoksam Bldg, 833-2 Yeoksam-dong
Kangnam-gu, Seoul Korea 135-080
Office   82 2 3451 2389
Mobile  82 19 9155 3557
MSN    esumtravis@hotmail.com
ICQ       82395925
 
"You're only here for a short visit. 
Don't hurry. Don't worry. 
And be sure to smell the flowers along the way."
----- Original Message ----- 
From: Sanjiva Weerawarana <sa...@watson.ibm.com>
To: <so...@xml.apache.org>
Sent: Sunday, May 27, 2001 12:49 PM
Subject: Re: SOAP without RPC


> Yes, SOAP is actually a messaging system with RPC built on top
> of that. 
> 
> Do you mean maintaining an HTTP session or a session in terms
> of a SOAP header kinda thing? The prior is done by keeping a
> cookie going (which Apache SOAP support for RPC Java things)
> or by doing URL rewriting. In v2.2, each provider does its
> own thing for sessions.
> 
> If you want to use a SOAP header for session support that
> provides the best end-to-end session opportunity. However, that
> has to get accepted (and supported in WSDL, for example)
> for it to make sense over time in open systems.
> 
> Sanjiva.
> 
> ----- Original Message ----- 
> From: "Halestino Pimentel" <et...@alunos.cic.ua.pt>
> To: <so...@xml.apache.org>
> Sent: Saturday, May 26, 2001 11:00 AM
> Subject: SOAP without RPC
> 
> 
> > Is it possible to use SOAP without RPC?
> > If so, how can I manage the sessions?
> > 
> > Thank's
> > 
> > ---------------------------------------------------------------------
> > 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: SOAP without RPC

Posted by Travis Song <tr...@esumtech.com>.
Hi all.
The message below is a sent message with one attachment in the sample.mime example.
This example uses call to invoke remote method. Of course it is "SOAP with RPC", strictly speaking. Is there any way that 
we can add elements in the SOAP Evelope so that we can generate a message such as an ebXML.


POST /soap/servlet/rpcrouter HTTP/1.0

Host: localhost:8070

Content-Type: multipart/related; boundary="----=_Part_0_529641.991045815370"; type="text/xml"; start="449364.991045815480.apache-soap.travis.travis"

Content-Length: 884

SOAPAction: ""



------=_Part_0_529641.991045815370

Content-Type: text/xml; charset=utf-8

Content-Transfer-Encoding: 8bit

Content-ID: <449364.991045815480.apache-soap.travis.travis>

Content-Length: 468



<?xml version='1.0' encoding='UTF-8'?>

<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:sendFile xmlns:ns1="urn:mime" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">

<addedfile href ="cid:5352659.991045815370.apache-soap.travis.travis"/>

</ns1:sendFile>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

------=_Part_0_529641.991045815370

Content-Type: text/plain

Content-Transfer-Encoding: 7bit

Content-ID: <5352659.991045815370.apache-soap.travis.travis>

Content-Length: 4



bar!

------=_Part_0_529641.991045815370--
Travis Song
Engineer
eSum Technologies Inc.,
XML-Based Solutions R&D
Sungbo Yeoksam Bldg, 833-2 Yeoksam-dong
Kangnam-gu, Seoul Korea 135-080
Office   82 2 3451 2389
Mobile  82 19 9155 3557
MSN    esumtravis@hotmail.com
ICQ       82395925
 
"You're only here for a short visit. 
Don't hurry. Don't worry. 
And be sure to smell the flowers along the way."
----- Original Message ----- 
From: Sanjiva Weerawarana <sa...@watson.ibm.com>
To: <so...@xml.apache.org>
Sent: Sunday, May 27, 2001 12:49 PM
Subject: Re: SOAP without RPC


> Yes, SOAP is actually a messaging system with RPC built on top
> of that. 
> 
> Do you mean maintaining an HTTP session or a session in terms
> of a SOAP header kinda thing? The prior is done by keeping a
> cookie going (which Apache SOAP support for RPC Java things)
> or by doing URL rewriting. In v2.2, each provider does its
> own thing for sessions.
> 
> If you want to use a SOAP header for session support that
> provides the best end-to-end session opportunity. However, that
> has to get accepted (and supported in WSDL, for example)
> for it to make sense over time in open systems.
> 
> Sanjiva.
> 
> ----- Original Message ----- 
> From: "Halestino Pimentel" <et...@alunos.cic.ua.pt>
> To: <so...@xml.apache.org>
> Sent: Saturday, May 26, 2001 11:00 AM
> Subject: SOAP without RPC
> 
> 
> > Is it possible to use SOAP without RPC?
> > If so, how can I manage the sessions?
> > 
> > Thank's
> > 
> > ---------------------------------------------------------------------
> > 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: SOAP without RPC

Posted by Sanjiva Weerawarana <sa...@watson.ibm.com>.
Yes, SOAP is actually a messaging system with RPC built on top
of that. 

Do you mean maintaining an HTTP session or a session in terms
of a SOAP header kinda thing? The prior is done by keeping a
cookie going (which Apache SOAP support for RPC Java things)
or by doing URL rewriting. In v2.2, each provider does its
own thing for sessions.

If you want to use a SOAP header for session support that
provides the best end-to-end session opportunity. However, that
has to get accepted (and supported in WSDL, for example)
for it to make sense over time in open systems.

Sanjiva.

----- Original Message ----- 
From: "Halestino Pimentel" <et...@alunos.cic.ua.pt>
To: <so...@xml.apache.org>
Sent: Saturday, May 26, 2001 11:00 AM
Subject: SOAP without RPC


> Is it possible to use SOAP without RPC?
> If so, how can I manage the sessions?
> 
> Thank's
> 
> ---------------------------------------------------------------------
> 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: SOAP without RPC

Posted by Sanjiva Weerawarana <sa...@watson.ibm.com>.
Yes, SOAP is actually a messaging system with RPC built on top
of that. 

Do you mean maintaining an HTTP session or a session in terms
of a SOAP header kinda thing? The prior is done by keeping a
cookie going (which Apache SOAP support for RPC Java things)
or by doing URL rewriting. In v2.2, each provider does its
own thing for sessions.

If you want to use a SOAP header for session support that
provides the best end-to-end session opportunity. However, that
has to get accepted (and supported in WSDL, for example)
for it to make sense over time in open systems.

Sanjiva.

----- Original Message ----- 
From: "Halestino Pimentel" <et...@alunos.cic.ua.pt>
To: <so...@xml.apache.org>
Sent: Saturday, May 26, 2001 11:00 AM
Subject: SOAP without RPC


> Is it possible to use SOAP without RPC?
> If so, how can I manage the sessions?
> 
> Thank's
> 
> ---------------------------------------------------------------------
> 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: SOAP without RPC

Posted by Gaurav <ga...@ecom.aptech.ac.in>.
Hi,

Would I be correct  if I say that SOAP messaging system is only synchronous.
To have a more reliable and asynchronous messaging system, I need to use
traditionl message brokers like MQ Series!!..btw....what is the diference
between a Messaging system and RPC mechanism in a strict technical
sense?....While using SOAP as a messaging model, I still invoke a service
running on remote machine and offload my SOAP packet there. Dont we do the
same thing through RPC calls.

Regards.

----- Original Message -----
From: Anne Thomas Manes <an...@manes.net>
To: <so...@xml.apache.org>
Sent: Saturday, May 26, 2001 10:56 PM
Subject: RE: SOAP without RPC


> Yes. SOAP is a messaging system. The RPC programming model is an optional
> feature that's layered on top of the messaging system.
>
> Anne
>
> -----Original Message-----
> From: Halestino Pimentel [mailto:ethpimentel@alunos.cic.ua.pt]
> Sent: Saturday, May 26, 2001 8:00 AM
> To: soap-user@xml.apache.org
> Subject: SOAP without RPC
>
>
> Is it possible to use SOAP without RPC?
> If so, how can I manage the sessions?
>
> Thank's
>
> ---------------------------------------------------------------------
> 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: SOAP without RPC

Posted by Gaurav <ga...@ecom.aptech.ac.in>.
Hi,

Would I be correct  if I say that SOAP messaging system is only synchronous.
To have a more reliable and asynchronous messaging system, I need to use
traditionl message brokers like MQ Series!!..btw....what is the diference
between a Messaging system and RPC mechanism in a strict technical
sense?....While using SOAP as a messaging model, I still invoke a service
running on remote machine and offload my SOAP packet there. Dont we do the
same thing through RPC calls.

Regards.

----- Original Message -----
From: Anne Thomas Manes <an...@manes.net>
To: <so...@xml.apache.org>
Sent: Saturday, May 26, 2001 10:56 PM
Subject: RE: SOAP without RPC


> Yes. SOAP is a messaging system. The RPC programming model is an optional
> feature that's layered on top of the messaging system.
>
> Anne
>
> -----Original Message-----
> From: Halestino Pimentel [mailto:ethpimentel@alunos.cic.ua.pt]
> Sent: Saturday, May 26, 2001 8:00 AM
> To: soap-user@xml.apache.org
> Subject: SOAP without RPC
>
>
> Is it possible to use SOAP without RPC?
> If so, how can I manage the sessions?
>
> Thank's
>
> ---------------------------------------------------------------------
> 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: SOAP without RPC

Posted by Anne Thomas Manes <an...@manes.net>.
Yes. SOAP is a messaging system. The RPC programming model is an optional
feature that's layered on top of the messaging system.

Anne

-----Original Message-----
From: Halestino Pimentel [mailto:ethpimentel@alunos.cic.ua.pt]
Sent: Saturday, May 26, 2001 8:00 AM
To: soap-user@xml.apache.org
Subject: SOAP without RPC


Is it possible to use SOAP without RPC?
If so, how can I manage the sessions?

Thank's

---------------------------------------------------------------------
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: SOAP without RPC

Posted by Anne Thomas Manes <an...@manes.net>.
Yes. SOAP is a messaging system. The RPC programming model is an optional
feature that's layered on top of the messaging system.

Anne

-----Original Message-----
From: Halestino Pimentel [mailto:ethpimentel@alunos.cic.ua.pt]
Sent: Saturday, May 26, 2001 8:00 AM
To: soap-user@xml.apache.org
Subject: SOAP without RPC


Is it possible to use SOAP without RPC?
If so, how can I manage the sessions?

Thank's

---------------------------------------------------------------------
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