OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | spago-dev List | March 2008 Index

<--  Date Index  --> <--  Thread Index  -->

[[spago-dev]] Re: [[spago-dev]] Reg. How to enable SOAP WebService in SPAGO


The WSDL for Spago Web Services is fixed; this means that a SOAP request for Spago services is always like the following sample:

<SOAP-ENV:Envelope xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/

<SOAP-ENV:Body>
<SERVICE_REQUEST ACTION_NAME="some_action" other_attributes="...">
<other XML content>
</SERVICE_REQUEST>

</SOAP-ENV:Body></SOAP-ENV:Envelope>


The ACTION_NAME (or the PAGE) attribute identify the service to execute.

If you need a Web service interface different from this one you need implementing your own interface (with Axis for example) and then use a custom adapter derived from the AdapterSOAP (or the AdapterAxis) provided with Spago.

Best Regards

*Gianfranco Boccalon*
______________________________________
<www.spagoworld.org>

Spago&Spagic Project Leader
______________________________________

Senior Consultant
Architectures & Consulting
Research & Innovation Division
*Engineering Ingegneria Informatica S.p.A.
*
Corso Stati Uniti, 23/C - 35127 Padova - Italy
Phone:  +39-049.8692511    Fax:+39-049.8692566
Mobile: +39-3357813507

*www.eng.it                    www.spagoworld.org*
        



Uma Gudi ha scritto:

Hi Boocalon

Thanks for the quick response.

The enabling of the webservice can be done in two ways

1) Document-oriented (the SOAP message contains a document)

2) RPC-oriented (the SOAP message contains parameters and return values).

I have gone through the document and found that the document explains about the second approach using the axis client API.

As we need to expose our service to the ASP application ,we would like to implement using the first approach(document oriented).If possible please provide us the sample code as well.

In the example provided by the document usually we will use the request XML as "<SERVICE_REQUEST ACTION_NAME="INCREMENTA_NUMERO" but as per our requirement we need to use the fully compliant SOAP request.

e.g:

<SOAP-ENV:Envelope xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/

<SOAP-ENV:Body>

<GetCurrencyRate:GetCurrencyRate xmlns:GetCurrencyRate="uri:GetCurrencyRate">

<CURRENCY>EUR</CURRENCY>>

<TARGET>USD</TARGET>

</GetCurrencyRate:GetCurrencyRate>

</SOAP-ENV:Body></SOAP-ENV:Envelope>

Pls let us know how to implement the same using SPAGO framework

Thanks and BestRegards
Uma Maheswara Rao Gudi
Tata Consultancy Services
Mailto: uma.gudi@xxxxxxx
Website: http://www.tcs.com
____________________________________________
Experience certainty. IT Services
Business Solutions
Outsourcing
____________________________________________

*Gianfranco Boccalon <gianfranco.boccalon@xxxxxx>*

03/17/2008 10:29 CET

        
To
Uma Gudi <uma.gudi@xxxxxxx>

cc
spago-dev@xxxxxxx, uday-a.kumar@xxxxxx

bcc

Subject
Re: [[spago-dev]] Reg. How to enable SOAP WebService in SPAGO
        


Hi,
in the default Spago configuration (the configuration released in the
samples) all services are automatically exposed as Web Services, through
the Apache SOAP implementation.
However there is also the Axis implementation available: you can find
all the details about Spago Web Services in the document
"webservice.pdf" within the file spago-docs-en-pdf-20070410.zip released
in the documentation section of the OW2 forge.

Best regards

*Gianfranco Boccalon*
______________________________________
<www.spagoworld.org>

Spago&Spagic Project Leader
______________________________________

Senior Consultant
Architectures & Consulting
Research & Innovation Division
*Engineering Ingegneria Informatica S.p.A.
*
Corso Stati Uniti, 23/C - 35127 Padova - Italy
Phone:  +39-049.8692511    Fax:+39-049.8692566
Mobile: +39-3357813507

*www.eng.it                    www.spagoworld.org*




Uma Gudi ha scritto:
> Hi,
>
> We are using the spago framework in service tier.We have the requirement to
> expose our SPAGO webservices to the ASP application.
>
> Could you please send me the detail steps required to expose spago services > as webservices(fully soap compliant).If possible please provide sample code
> to implement the same
>
> Thanks and regards
>
> Uma Maheswara Rao Gudi
>
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you
>
>
>
>


--

ForwardSourceID:NT0000F182
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you




--



<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 2006-2007, OW2 Consortium | contact | webmaster.