Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Help in devoping Adapter

38 views
Skip to first unread message

xyz

unread,
Oct 16, 2009, 2:01:14 AM10/16/09
to
Hi,

I have a appache tomcat hosting one webserver application ( act as
server ) fuction is to add 2 nombers and return the result.

Now i am trying to write a AL which send the 2 numbers as soap request
( client) and get the response of the sum as result.

How to do this?

Can any one help in explaining the type of connector and steps i need
to follow to acheive the same.

Eddie Hartman

unread,
Oct 16, 2009, 3:58:40 AM10/16/09
to
Try the HTTP Client Connector. There you can specify the URL you
want to send, as well as the HTTP verb (POST, GET, ...). Run the
Connector in CallReply mode and it uses the URL in the Config
parameter. You can also try Lookup mode where your Link Criteria
gets translated to the URL sent (check out the Ref Guide for
more details):

http://publib.boulder.ibm.com/infocenter/tivihelp/v2r1/topic/com.ibm.IBMDI.doc_6.1.1/referenceguide26.htm#wq196

Then in the Input Map you will get back an Attribute called
"http.body"
which has the reply. Either attach the Parser you want to use, or
just parse the body yourself, for example with a Script component
or using the Parser FC following the Connector.

Hope this helps :)
-Eddie

xyz

unread,
Oct 26, 2009, 11:12:19 AM10/26/09
to
Thanks a lot for reply.

I am still in confusion , I want to make a Webservice connection to
the server.

But you are asking me to make a http connection, can you please
explain in details.

I need to make connection to webservice servcer and need to send a
SOAP request which contain values of "a" and "b".

I return server returns either error message or result in a SOAP
response now i need to convert that soap responce to such a way the
TDI can understand the result.

Regards,
Poorna

Eddie Hartman

unread,
Oct 27, 2009, 5:16:40 AM10/27/09
to
I posted a slightly different reply to you (different thread). In
short
you will need to use the ComplexTypesGenerator Function component
to build helper Java classes based on the wsdl, and then use the
WS Function component (e.g. AxisEasyInvokeWS FC) to make
the call. Prior to the call you do some scripting to populate the
Java classes and then use the AxisJavaToSOAP FC to prepare
for to invoke the WS, and then AxisSOAPtoJava afterwards to
get back the result.

There is another post on this topic here:
http://groups.google.com/group/ibm.software.network.directory-integrator/browse_thread/thread/8fedae50663d7677/327b850a96f0a84b?hl=en&lnk=gst&q=generate+complex+types#327b850a96f0a84b

-Eddie

xyz

unread,
Dec 22, 2009, 1:26:41 PM12/22/09
to
Hi ,

I developed Webservice client using AsixJavaToSoap , InvokeWS and
AxisSoapToJava and is working fine with TDI 6.1.1(fix pak 8).

When i am trying the same with ITIM it is giving error message saying
entity attribute "param" is missing, what might be the issue.

here i am setting all the values that required to construct the soap
reuest to param in AL hook.

Regards,
Poorna

flamesnm

unread,
Dec 23, 2009, 7:28:23 AM12/23/09
to
In the AxisEasyInvokeSoapWS component, 'param' is the name of the
variable that is passed to your web service. It will need to be set as
a work entry somewhere in your logic, and it should contain a Java
object containing the payload for your web service request.

You shouldn't need to use AxisJavaToSoap and AxisSoapToJava if you're
using the AxisEasyInvokeSoapWS component.

xyz

unread,
Dec 24, 2009, 12:56:56 PM12/24/09
to
Hi , I developed AL to fech all the user using AxisSoapToJava FC
(webservices suit) and working fine with TDI but how to to integrate
this with TIM as i am getting as soap response and i am able to
convert this to java object using # AxisSoapToJava FC but how to map
to TIM attributes.

0 new messages