DSXchange: DataStage and IBM Websphere Data Integration Forum
View next topic
View previous topic
Add To Favorites
Author Message
anajitKS



Group memberships:
Premium Members

Joined: 18 Dec 2014
Posts: 28
Location: Kansas City
Points: 544

Post Posted: Mon Jun 20, 2016 10:14 am Reply with quote    Back to top    

DataStage® Release: 9x
Job Type: Server
OS: Unix
Additional info: It is originally running on Linux
I am invoking an external WebService by using WebService Client Stage.
While running the webservice. It is coming back with an error stating 'No Support For attachment'.I checked the WS via soapUI and it works fine.

I am getting the following error.

TestOracle_UCM4A..Transformer_16: com.ascentialsoftware.wsclient.ServiceInvocationException: Service invocation exception: <Fault xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<faultcode xmlns="">Server.userException</faultcode>
<faultstring xmlns="">java.lang.RuntimeException: No support for attachments</faultstring>
<detail xmlns="">
<stackTrace xmlns="http://xml.apache.org/axis/">java.lang.RuntimeException: No support for attachments
at org.apache.axis.Message.setup(Message.java:336)
at org.apache.axis.Message.&lt;init&gt;(Message.java:234)
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:664)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:128)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:180)
at org.apache.axis.client.Call.invokeEngine(Call.java:2564)
at org.apache.axis.client.Call.invoke(Call.java:2553)
at org.apache.axis.client.Call.invoke(Call.java:1753)
at com.ascentialsoftware.wsclient.OperationCall.invoke(OperationCall.java:285)
at com.ascentialsoftware.wsclient.WebService.callServiceInternal(WebService.java:1685)
at com.ascentialsoftware.wsclient.WebService.callService(WebService.java:1591)
at com.ascentialsoftware.wsclient.WebService.callService(WebService.java:1544)
at com.ascentialsoftware.wspack.Transformer.process(Transformer.java:105)
at com.ascentialsoftware.jds.StageFactory.runStage(StageFactory.java:544)
at com.ascentialsoftware.jds.StageFactory.runTarget(StageFactory.java:348)
</stackTrace>
</detail>
</Fault>
at com.ascentialsoftware.wsclient.OperationCall.handleRemoteException(OperationCall.java:388)
at com.ascentialsoftware.wsclient.OperationCall.invoke(OperationCall.java:293)
at com.ascentialsoftware.wsclient.WebService.callServiceInternal(WebService.java:1685)
at com.ascentialsoftware.wsclient.WebService.callService(WebService.java:1591)
at com.ascentialsoftware.wsclient.WebService.callService(WebService.java:1544)
at com.ascentialsoftware.wspack.Transformer.process(Transformer.java:105)
at com.ascentialsoftware.jds.StageFactory.runStage(StageFactory.java:544)
at com.ascentialsoftware.jds.StageFactory.runTarget(StageFactory.java:348)




What am I missing here ?
Any help on this will be appreciated.

_________________
ABHIJIT DUTTA
chulett

Premium Poster


since January 2006

Group memberships:
Premium Members, Inner Circle, Server to Parallel Transition Group

Joined: 12 Nov 2002
Posts: 42277
Location: Denver, CO
Points: 217088

Post Posted: Mon Jun 20, 2016 10:18 am Reply with quote    Back to top    

Just to double-check, this is truly a Server job leveraging the WebService Client stage?

_________________
-craig

Watch out where the huskies go and don't you eat that yellow snow
Rate this response:  
Not yet rated
anajitKS



Group memberships:
Premium Members

Joined: 18 Dec 2014
Posts: 28
Location: Kansas City
Points: 544

Post Posted: Mon Jun 20, 2016 10:27 am Reply with quote    Back to top    

Yes. this is truly a Server job leveraging the WebService Client stage.

_________________
ABHIJIT DUTTA
Rate this response:  
Not yet rated
chulett

Premium Poster


since January 2006

Group memberships:
Premium Members, Inner Circle, Server to Parallel Transition Group

Joined: 12 Nov 2002
Posts: 42277
Location: Denver, CO
Points: 217088

Post Posted: Mon Jun 20, 2016 10:48 am Reply with quote    Back to top    

Thanks.

_________________
-craig

Watch out where the huskies go and don't you eat that yellow snow
Rate this response:  
Not yet rated
ray.wurlod

Premium Poster
Participant

Group memberships:
Premium Members, Inner Circle, Australia Usergroup, Server to Parallel Transition Group

Joined: 23 Oct 2002
Posts: 54072
Location: Sydney, Australia
Points: 293282

Post Posted: Mon Jun 20, 2016 4:03 pm Reply with quote    Back to top    

Did you have an attachment when testing with SoapUI?

_________________
RXP Services Ltd
Melbourne | Canberra | Sydney | Hong Kong | Hobart | Brisbane
currently hiring: Canberra, Sydney and Melbourne
Rate this response:  
Not yet rated
anajitKS



Group memberships:
Premium Members

Joined: 18 Dec 2014
Posts: 28
Location: Kansas City
Points: 544

Post Posted: Mon Jun 20, 2016 7:00 pm Reply with quote    Back to top    

There is no attachment when the SOAPUI request was made. Here is the request.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/types/" xmlns:erp="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/">
<soapenv:Header/>
<soapenv:Body>
<typ:uploadFileToUcm>
<typ:document>
<erp:Content>SGkgUm9iLCBJIGhvcGUgdGhpcyB3b3Jrcy4gTWlrZS4=</erp:Content>
<erp:FileName>MikesGLTest_0617</erp:FileName>
<!--Optional:-->
<erp:ContentType>zip</erp:ContentType>
<!--Optional:-->
<erp:DocumentTitle>Mikes Journal Import 20160617</erp:DocumentTitle>
<!--Optional:-->
<erp:DocumentAuthor>webservices</erp:DocumentAuthor>
<!--Optional:-->
<erp:DocumentSecurityGroup>FAFusionImportExport</erp:DocumentSecurityGroup>
<!--Optional:-->
<erp:DocumentAccount>fin$/generalLedger$/import$</erp:DocumentAccount>
<!--Optional:-->
<erp:DocumentName>Test</erp:DocumentName>
<!--Optional:-->
<erp:DocumentId></erp:DocumentId>
</typ:document>
</typ:uploadFileToUcm>
</soapenv:Body>
</soapenv:Envelope>

_________________
ABHIJIT DUTTA
Rate this response:  
Not yet rated
anajitKS



Group memberships:
Premium Members

Joined: 18 Dec 2014
Posts: 28
Location: Kansas City
Points: 544

Post Posted: Mon Jun 20, 2016 7:48 pm Reply with quote    Back to top    

No attachment was passed to the web service when invoked from the datastage.

_________________
ABHIJIT DUTTA
Rate this response:  
Not yet rated
eostic

Premium Poster



Group memberships:
Premium Members

Joined: 17 Oct 2005
Posts: 3724

Points: 29740

Post Posted: Mon Jun 20, 2016 8:04 pm Reply with quote    Back to top    

...are you expecting it to be? I don't think that the WS Stages were ever updated to fully support SOAP 1.2, which is when I think SOAP w/Attachments functionality was added. Is the receiving serv ...

_________________
Ernie Ostic

blogit!
Open IGC is Here!
Rate this response:  
Not yet rated
Display posts from previous:       

Add To Favorites
View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2002 phpBB Group
Theme & Graphics by Daz :: Portal by Smartor
All times are GMT - 6 Hours