Re: True Dynamic Invocation of Web Services

"Srinivas Velidanda" <[email protected]> Thu, 21 Jun 2007 12:06:55 +0530
Newsgroups gmane.comp.apache.webservices.wsif.user
Message-ID <[email protected]>
------=_Part_93638_18636131.1182407815280
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Try with XSUL Libraries, are advanced compared to WSIF.

Work out with the samples from XSUL, then you will get an idea how different
is it from WSIF.

Then proceed further...

On 6/20/07, Hardman, Michael (AELE) <Michael.Hardman-2Fe89vIlZKfypK0nipIKp1aTQe2KTcn/@public.gmane.org>
wrote:
>
>
> Hi,
>
> I am working on a project that wishes to create a mechanism for calling
> web services dynamically. It is envisaged that this calling will be
> controlled by the internal scripting language of the program, therefore
> no compile time knowledge of the web service will exist.
>
> Our program is written in C++, but we are planning to use a separate
> Java program (comunicating via TCP/IP sockets) to call the web services.
> It is planned that the intercomunication will be in XML, probably with
> XMLBeans representation on the Java side.
>
> Idealy what I would like to do is be able to pass XML fragments directly
> to the WSIF call engine and retrieve XML fragments back from the
> responses. These could then be handled by our program and translated
> to/from the nescersary structures.  As our calls will be controlled by a
> scripting language, we can assume that the users have a grasp of the
> correct parameters to pass to the webservices and will define a way of
> handling the incoming return values in an appropriate manner. We will
> probably add some additional type checking in as a separate task,
> therefore the WSIF component does not need to worry about this.
>
> Currently I have got the examples simplesoap and complexsoap running and
> have created a test client that takes a wsdl & op name and attempts to
> map the inputs and outputs. I have managed to succesfully call a
> webservice by providing an object to deserialize the return message to.
> But as stated above I would prefer to do this in a dynamic fasion so
> webservices can be chosen at runtime.
>
> I have seen some posts making rough sugestions as to how to configure
> WSIF to operate dynamically, but none of this has given me a concreate
> starting point with which to pursue.
>
> My understading is that I would need to write (de)serialisation objects
> and inform WSIF to use these. Is this a correct evaluation of the way to
> proceed? Can you point me in the right direction as to how to write
> these (de)serialization routines, and how to configure WSIF to utilize
> them?
>
> I appreciate any help you can give me in this matter
>
>
> Mike Hardman
> GE
> Aviation
> Digital Systems
> Information Systems (Southampton)
> Software Engineer, R&TD
>
> T: +44 (0)23 8024 2000
> F: +44 (0)23 8024 2001
> D: +44 (0)23 8024 2027
> E: Michael.Hardman-2Fe89vIlZKfypK0nipIKp1aTQe2KTcn/@public.gmane.org
> www.ge.com/aviation
>
> School Lane, Chandlers Ford
> Eastleigh, Hampshire, SO53 4YG, UK
> GE Aviation is the business name for Smiths Aerospace Limited
>
>
> ************************************************
> The information contained in, or attached to, this e-mail, may contain
> confidential information and is intended solely for the use of the
> individual or entity to whom they are addressed and may be subject to legal
> privilege.  If you have received this e-mail in error you should notify the
> sender immediately by reply e-mail, delete the message from your system and
> notify your system manager.  Please do not copy it for any purpose, or
> disclose its contents to any other person.  The views or opinions presented
> in this e-mail are solely those of the author and do not necessarily
> represent those of the company.  The recipient should check this e-mail and
> any attachments for the presence of viruses.  The company accepts no
> liability for any damage caused, directly or indirectly, by any virus
> transmitted in this email.
> ************************************************
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

------=_Part_93638_18636131.1182407815280
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Try with XSUL Libraries, are advanced compared to WSIF.<br><br>Work out with the samples from XSUL, then you will get an idea how different is it from WSIF.<br><br>Then proceed further...<br><br><div><span class="gmail_quote">
On 6/20/07, <b class="gmail_sendername">Hardman, Michael (AELE)</b> &lt;<a href="mailto:Michael.Hardman-2Fe89vIlZKfypK0nipIKp1aTQe2KTcn/@public.gmane.org">Michael.Hardman-2Fe89vIlZKfypK0nipIKp1aTQe2KTcn/@public.gmane.org</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Hi,<br><br>I am working on a project that wishes to create a mechanism for calling<br>web services dynamically. It is envisaged that this calling will be<br>controlled by the internal scripting language of the program, therefore
<br>no compile time knowledge of the web service will exist.<br><br>Our program is written in C++, but we are planning to use a separate<br>Java program (comunicating via TCP/IP sockets) to call the web services.<br>It is planned that the intercomunication will be in XML, probably with
<br>XMLBeans representation on the Java side.<br><br>Idealy what I would like to do is be able to pass XML fragments directly<br>to the WSIF call engine and retrieve XML fragments back from the<br>responses. These could then be handled by our program and translated
<br>to/from the nescersary structures.&nbsp;&nbsp;As our calls will be controlled by a<br>scripting language, we can assume that the users have a grasp of the<br>correct parameters to pass to the webservices and will define a way of
<br>handling the incoming return values in an appropriate manner. We will<br>probably add some additional type checking in as a separate task,<br>therefore the WSIF component does not need to worry about this.<br><br>Currently I have got the examples simplesoap and complexsoap running and
<br>have created a test client that takes a wsdl &amp; op name and attempts to<br>map the inputs and outputs. I have managed to succesfully call a<br>webservice by providing an object to deserialize the return message to.
<br>But as stated above I would prefer to do this in a dynamic fasion so<br>webservices can be chosen at runtime.<br><br>I have seen some posts making rough sugestions as to how to configure<br>WSIF to operate dynamically, but none of this has given me a concreate
<br>starting point with which to pursue.<br><br>My understading is that I would need to write (de)serialisation objects<br>and inform WSIF to use these. Is this a correct evaluation of the way to<br>proceed? Can you point me in the right direction as to how to write
<br>these (de)serialization routines, and how to configure WSIF to utilize<br>them?<br><br>I appreciate any help you can give me in this matter<br><br><br>Mike Hardman<br>GE<br>Aviation<br>Digital Systems<br>Information Systems (Southampton)
<br>Software Engineer, R&amp;TD<br><br>T: +44 (0)23 8024 2000<br>F: +44 (0)23 8024 2001<br>D: +44 (0)23 8024 2027<br>E: <a href="mailto:Michael.Hardman-2Fe89vIlZKfypK0nipIKp1aTQe2KTcn/@public.gmane.org">Michael.Hardman-2Fe89vIlZKfypK0nipIKp1aTQe2KTcn/@public.gmane.org</a><br><a href="http://www.ge.com/aviation">
www.ge.com/aviation</a><br><br>School Lane, Chandlers Ford<br>Eastleigh, Hampshire, SO53 4YG, UK<br>GE Aviation is the business name for Smiths Aerospace Limited<br><br><br>************************************************
<br>The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege.&nbsp;&nbsp;If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager.&nbsp;&nbsp;Please do not copy it for any purpose, or disclose its contents to any other person.&nbsp;&nbsp;The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company.&nbsp;&nbsp;The recipient should check this e-mail and any attachments for the presence of viruses.&nbsp;&nbsp;The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email.
<br>************************************************<br><br>---------------------------------------------------------------------<br>To unsubscribe, e-mail: <a href="mailto:[email protected]">[email protected]
</a><br>For additional commands, e-mail: <a href="mailto:[email protected]">[email protected]</a><br><br></blockquote></div><br>

------=_Part_93638_18636131.1182407815280--