Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Plugin participant run service endpoint wsdl

Sorry my English is bad.

I am implemented a plugin participant, and this plugin has to send data to a web service.

I have given the wsdl interface (client), but it is not how it is done.

I open the wsdl with soapUI program (see):

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsin="http.....">
   <soapenv:Header/>
   <soapenv:Body>
      <wsin:ActualizarX>
         <codUno>?</codUno>
         <codDos>?</codDos>
         <fechaInicio>?</fechaInicio>
         <fechaFin>?</fechaFin>
         <!--Zero or more repetitions:-->
         <usuariosAsginados>?</usuariosAsginados>
      </wsin:ActualizarX>
   </soapenv:Body>
</soapenv:Envelope>

How plugin participant sends data web service?.....thanks. I have crazy looking in forums

0 votes



3 answers

Permanent link
you would have to make a java class that does the client side call to the web service.

you could use the Eclipse WTP support to do this.

I do not know if the RTC runtime can tolerate long delay calls like this tho.. web service calls outside the RTC server can take a lifetime.. (seconds in computer speak)..  there are some timeout exceptions in some of the services to protect against hanging the UI.

0 votes


Permanent link

Hi community

I think Javier wants to say that He have got a participant of RTC implemented correctly and he loaded it and running it in the RTC server. This participant obtain information of RTC and it must to send this info to a web service. He have the info but he need to send this info to a web service (that is the real question).

He can't make a web project to do this because the send must be done when participant is executed (in running time of RTC server) and one participant of RTC can not be a WSDL

He need to know How can he do the  call a external webService for send the information obteined of RTC to another web server external of RTC server. He need to know guidelines to do this: perhaps with REST call, perhaps with GET or POST call. 

Anybody could help him with some simple examples or with basics directives , please?

Thanks in advance and best regards

Héctor Agudo

0 votes


Permanent link
GET or POST are standard http functions, and as rtc is a java web application there should be http services you could use.. 

I see the org.apache.httpclient jar file in the server plugins directory.

if the remote webservice server doesn't support REST calls, then u will have to make a soap supporting library, as I suggested earlier. This is what I do. I have not tried to use my web service function library from inside a participant or advisor.

0 votes

Comments

ok Sam

We will work over this line

Thanks

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Sep 12 '12, 10:49 a.m.

Question was seen: 8,194 times

Last updated: Sep 13 '12, 6:55 a.m.

Confirmation Cancel Confirm