#1 2010-01-27 15:23:25

RX01
New member
Registered: 2009-11-23
Posts: 7

tWebservice

Hello together!

I have a problem with the tWebservice Component.
We use Talend Data Quality (3.2.2.r33000) Version.

I created a simple webservice job with an tFixedFlowInput for the parameters.

The Webservice Method is configured with the component wizard (see picture 2 and 3).

The Response after execution is:

Starting job Webservice at 13:42 27/01/2010.

[statistics] connecting to socket on port 3762
[statistics] connected
|
[statistics] disconnected
Job Webservice ended at 13:42 27/01/2010. [exit code=0]

As you can see. The Response is null|null


Is it possible to debug the talend output.
Or is there an other posibility to achieve the stated messages below?



I already tested the webservice call with soapUI with the following request/response:

Code:

POST http://server:8040/intrexx/services/NeueTelefonrechnung HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "http://schemas.unitedplanet.de/intrexx/2007/ws-provider/login/soap-action/"
User-Agent: Jakarta Commons-HttpClient/3.1
Host: server.domain.net:8040
Content-Length: 543

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rex="http://server/">
   <soapenv:Header>
      <rex:sessionHeader>
         <!--Optional:-->
         <rex:sessionId>?</rex:sessionId>
      </rex:sessionHeader>
   </soapenv:Header>
   <soapenv:Body>
      <rex:login>
         <rex:user>user</rex:user>
         <!--Optional:-->
         <rex:domain>domain</rex:domain>
         <rex:password>xxx</rex:password>
      </rex:login>
   </soapenv:Body>
</soapenv:Envelope>

Response:

Code:

HTTP/1.1 200 OK
Content-Type: text/xml; charset=UTF-8
Date: Wed, 27 Jan 2010 10:05:17 GMT
Server: Axis2-HttpComponents-NIO
Transfer-Encoding: chunked

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

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Header>
      <tns:sessionHeader xmlns:tns="http://server/">
      <tns:sessionId>E6E0DCE8B383301341695E9251AEC8AD48EED4D4</tns:sessionId>
   </tns:sessionHeader></soapenv:Header>
   <soapenv:Body>
      <tns:loginResponse xmlns:tns="http://server/">
         <tns:sessionId>E6E0DCE8B383301341695E9251AEC8AD48EED4D4</tns:sessionId>
         <tns:sessionTimeout>120000</tns:sessionTimeout>
      </tns:loginResponse>
   </soapenv:Body>
</soapenv:Envelope>

Uploaded Images

Last edited by RX01 (2010-01-27 15:55:57)

Offline

#2 2010-01-27 15:53:28

janhess
Member
Company: Newcastle University
Registered: 2009-05-19
Posts: 1137

Re: tWebservice

Are you sure your passing the correct values as parameters? Try using a fixed value in tWebServiceto see it it works.

Offline

#3 2010-01-27 15:55:17

RX01
New member
Registered: 2009-11-23
Posts: 7

Re: tWebservice

janhess wrote:

Are you sure your passing the correct values as parameters? Try using a fixed value in tWebServiceto see it it works.

I already tried. Even if the user/password credentials are wrong. I get a response (sessionId) from the webservice.

Offline

Board footer

Powered by FluxBB