There is no payload in Soap request
Hi Expert,
I am testing Soap to RFC scenario. I am firing the soap request using Altova xmlspy. I am getting the response as cannot read payload. I checked in the Moni, no payload is coming to xi. but i am sending data through soap request. Below the response wat i am getting
<?xml version="1.0"?>
<!-- see the documentation -->
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<SOAP:Fault>
<faultcode>SOAP:Server</faultcode>
<faultstring>Server Error</faultstring>
<detail>
<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
<context>XIAdapter</context>
<code>RecoverableException</code>
<text><![CDATA[
com.sap.aii.af.ra.ms.api.RecoverableException: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:CANNOT_READ_PAYLOAD:
at com.sap.aii.af.mp.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:919)
at com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl3.process(ModuleLocalLocalObjectImpl3.java:103)
at com.sap.aii.af.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:258)
at com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0.process(ModuleProcessorLocalLocalObjectImpl0.java:103)
at com.sap.aii.af.mp.soap.web.MessageServlet.callModuleProcessor(MessageServlet.java:167)
at com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:424)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
]]></text>
</s:SystemError>
</detail>
</SOAP:Fault>
</SOAP:Body>
</SOAP:Envelope>
Please help me out in this issue
Thanks,
Venky
Hi,
Check whether your payload message which you are passing in HTTP Client tool is correct or not, try to copy the payload from Integration Repository while testing your mapping program.
Also check the Integration Engine Configuration runtime parameters,
Open Transaction SXMB_ADM -> Integration Engine Configuration -> Change Specific Configuration
Check the values of below given parameters for runtime category, these values must be maintained:
LOGGING, LOGGING_SYNC, LOGGING_PROPAGATION, TRACE_LEVEL and TRACE_LEVEL_PROPAGATION.
Look into this thread ... it seems something similar with your problem.
Payload of SOAP-Message cannot be read Try these solutions.
Regards
Aashish Sinha
Similar Messages
-
How to print SOAP request at client program when program calls web service.
Hi friends,
While calling a web service, I am getting following error: javax.xml.rpc.JAXRPCException: Failed to parse WSDL
I believe it is due to an invalid parameter set for the request soap. I need to analysis this error. Can you help me to print SOAP request at client program when program calls web service.
Is there any way to print SOAP request XML?
Thanks.
JaykishanIs this question related to Oracle SOA suite? Which client are you using? Use SOAPUI to validate whether WSDL is correct.
Regards,
Anuj -
SOAP receiver adapter - SOAP request over HTTPS to ther port than 443?
Hi guys!
Is it possible to send SOAP request from XI to target web service over HTTPS to other target port than 443? Our 3rd party web service is running other port..
Thanx a lot, OlianHi Olian,
Check out this,
http://www.grc.com/port_443.htm
http://en.wikipedia.org/wiki/HTTPS
The port 443 is just the default port. One can theoretically run protocols over any port. Port assignments are just suggestions to the world as to what to expect on certain ports
Regards,
Prateek -
How to get Payload of SOAP Message in Advance Adapter Engine
HI All,
I am wondering if anybody can tell me how to view the Payload of SOAP Sender and Receiver Message in Advance Adapter Engine?
Does Anybody know how to check mapping payload in Advance Adapter Engine because in ABAP you can see the mapping payload under Request Message Mapping but when you use AAE you can't see the Request Message Mapping Payload.
I have a SOAP to RFC Scenario in which I can't see the SOAP Sender and RFC Receiver Mapping Payload.
When I am sending incorrect data to an RFC I am getting this error which is very strange and new to me.
com.sap.engine.interfaces.messaging.api.exception.MessagingException: Unable to split a synchronous message
Any comments would be much appreciated.
Thanks,
IqbalHI All,
I have managed to find Michal's Blog which is talking about getting the mapping payload but unfortunately I don't know how to create Adapter Module so I am wondering if somebody can please provide me EAR file so that I will request the Basis guys to deploy the code and hopefully this will solve my query.
Michal's Blog
As you all probably know while using local Advanced Adapter Engine (AAE) processing in SAP PI 7.1 the message is logged only once (during processing by sender adapter). This is great in terms of performance but what if we need to check the mapping output? Is there a way do do it somehow? It turns out that we don't have such an option in standard yet. Is there any alternative then?
It turns out there is - a simplest adapter module there is...
Local AAE works in such a way that from the sender adapter it executes the receiver adapter so in the outbound message to PI processing you can see the adapter info logs of the receiver adapter and this is what we can use. The idea is to add an adapter module to the receiver adapter which will put the content of the message into the audit log of PI message processing. We can do it by writing a few lines of code:
PI/XI: target message logging with local AAE not possible ? not anymore...
*Please upload the file in any free site or <REMOVED BY MODERATOR>
<READ RULES OF ENGAGEMENT>
Thanks,
Edited by: Prateek Raj Srivastava on Jan 6, 2012 9:10 PM -
SOAP Request to "XISOAPAdapter/MessageServlet" or"sap/xi/engine?type=entry"
Hi,
I created a webservice whichs creates an idoc from an orders05 xml file.
I created a wsdl file and try it out with xml spy. It works fine.
However I have a question.
If I send the SOAP Request to:
http://host:port/XISOAPAdapter/MessageServlet?channel=PARTY:PARTY_Application:CC_PARTY_Application_SOAP_SND
its working fine.
If I send the SOAP Request to:
http://host:port/sap/xi/engine?type=entry?channel=PARTY:PARTY_Application:CC_PARTY_Application_SOAP_SND
it is not working.
In the second case I can see my message in the monitor and I found my orders05 xml in the payload. However the message has no information about the sender, the application and the communication channel. So I got a lot of errors.
I thought that both are url are doing the same with soap requests, the first is the adapter engine j2ee port and the other the abap stack http port.
Could someone explain the differences to me and why the information is lost when using the abap port?
Many thanks,
Nils KlothHi,
In the 2. case I think there shoudnt be two question marks.
"http://host:port/sap/xi/engine?type=entry?"
Shouldnt it be like this:
"http://host:port/sap/xi/engine?type=entry:"
Hope it helps (Please inform if it works)
Regards,
Arman -
Hi,
I Following tuxedo version on AIX 6.1 Power 7 64 bit.
INFO: Oracle Tuxedo, Version 10.3.0.0, 64-bit, Patch Level 095
Service Meta Information is :
service=StockQuote
export=y
servicetype=service
tuxservice=STOCKQUOTE
svcdescription=This service is used to demo security and xml buffer interop.
inbuf=XML
outbuf=XML
param=XMLBuffer
type=xml
access=inout
size=1000
this is actually picked from salt sample packaged with version 10.3.
Request Message:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ns1="urn:salt.samples.wsdl"
xmlns:ns2="urn:pack.samples_typedef.salt11">
<SOAP-ENV:Body>
<ns2:StockQuote>
<ns2:inbuf>
</ns2:inbuf>
</ns2:StockQuote>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
I put GWWS under tracing and found following.
Response Messag:
150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --WAKEUP-->Created
150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --Inbound-->Receive
150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --Found-->ParseHTTP
150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:HTTP Parsing: Buffer length 1140 -- POST /secsapp HTTP/1.1^M
Host: uaix4070.unix.rabobank.nl:8070^M
User-Agent: gSOAP/2.7^M
Content-Type: text/xml; charset=utf-8^M
Content-Length: 437^M
Connection: close^M
SOAPAction: "StockQuote"^M
^M
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLS
150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:chema"
xmlns:ns1="urn:salt.samples.wsdl"
xmlns:ns2="urn:pack.samples_typedef.salt11">
<SOAP-ENV:Body>
<ns2:StockQuote>
<ns2:inbuf>
</ns2:inbuf>
</ns2:StockQuote>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:parse_header_field() return 6
150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --OK-->HTTPDispatch
150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:A HTTP message is received, SCO index=4095
150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:Finding endpoint, soap->path is /secsapp, request_uri is /secsapp
150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --Post-->ParseSOAPHeader
150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --Default-->ParseHeaderRoot
150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:A SOAP message is received, SCO index=4095
150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --None-->ParseSOAPBody
150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --Default-->ParseBodyRoot
150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --OK-->ParseBodyElement
150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:Begin data transformation of request message, buffer type = XML, SCO index=4095
150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --Fail-->SOAPFault
150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --OK-->PackSOAPBody
150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --OK-->PackSOAPHeader
150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --Default-->WSRMHandle3
150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --OK-->PackHTTP
150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --Default-->Send
150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:Sending HTTP Header: HTTP/1.1 500 Internal Server Error^M
Server: gSOAP/2.7^M
Content-Type: text/xml; charset=utf-8^M
Content-Length: 311^M
Connection: close^M
^M
150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:Sending SOAP Message: <?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Client</faultcode><faultstring>GWWS_CAT:1022: SOAP Error: Invalid SOAP Body.</faultstring></SOAP-ENV:Fault><
/SOAP-ENV:Body></SOAP-ENV:Envelope>
Is there something wrong with the request ? Are there known bugs with handling of Soap request in this version ?
Thanks & Regards,
Ajeet TewariAjeet,
I believe that may be caused by the fact that the payload is empty (<inbuf></inbuf>). The gateway is very strict on that...
Regards,
Maurice -
Error while sending a soap request from XML SPY to a webservice in XI
Hi ,
I published a webservice om the XI end and testing it with consuming the WSDL file in XML SPY and sending a soap request from there.
I am getting the following error .
<b>com.sap.aii.af.mp.module.ModuleException: either no channelID specified or no channel found for the specified party, service, and channel name</b>, MessageServlet(Version $Id: //tc/xi/645_VAL_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#4 $)
at com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:380)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Is this error due to the user authentication or due to some other issue .
Please do let me know soon .
Thanks a lot
NikhilHi Ricardo ,
I have the correct port now.
the url looks like
http://<host>:50000/XISOAPAdapter/MessageServlet?channel=:SIEBEL_DEV:SOAP_CUST
when I am testing it in the XML spy. and send a soap server request. I am getting the popup for user authentication . once i put my user id it gives me a error saying
<b>HTTP operation 'POST' could not be performed on URL
'/XISOAPAdapter/MessageServlet?channel=:SIEBEL_DEV:SOAP_CUST&version=3.0&Sender.Service=SIEBEL_DEV&Interface=http%3A%2F%2FOFCOM%2FUNIFY%2FCustomerMaster%5EMI_CUST' due to an error :
The connection to the server was terminated abnormally</b>
Any Idea as to why is such a error is coming
Thanks for the help
Nikhil -
Using a SOAP request to initiate an ESB flow
I'm currently attempting to use the Oracle ESB as a pure routing engine for a project at work. Heres the basic way to works:
1. We get a SOAP request from a third party
2. We transform that request into a canonical format (via xslt)
3. Inside that canonical format there will be an ID
4. We look up that ID in a database and resolve an IP address from it
5. We then use the canonical message to invoke a named web service on a SOAP server living at that IP
So my questions are two fold really:
Firstly, is it possible to fire off an ESB flow via a SOAP web service call? So far it seems (to me) that i can only initiate processes [flows - sorry im used to BPEL!] via an adapters (files, AQ, JMS, etc) and not from a raw SOAP request. It seems the SOAP object is an ESB object and not an incoming/outgoing adapter
and
Secondly, is it possible to make a database call/query and then use the result of that to intelligently route my canonical data to a specific SOAP server dynamically?
I know i can do this in BPEL with little trouble but im trying see if its also plausible via ESB so i can leverage the performance and management benefits that come bundled with it.
Any help would be great as i seem to be banging my head against a wall slightly!
Thanks in advance,
Ian HarriganThanks for the reply.
Would it be possible to use an IP address (obtained from a database query) to dynamically call a web service of the same name but on different servers?
Ie, if the incoming message has an ID attribute within it of, say, 10 then a request is made to server1, however if the ID is 11 then it goes to server2 and so on and so forth.
I know this would be possible using a static filter but, unfortunately, that would mean that every time a new ID/Server combination is added to the database a new version of the ESB would have to be deployed which isn't feasible.
Essentially i would need a single ESB and simply update the database with additional data and logic inside the ESB would send SOAP requests to a entirely new IP address
Thanks again,
Ian -
Sending SOAP request from XI and writing a scheduler for this
Dear XI Experts,
My scenario is as follows.
We have two landscapes
1) XI, R/3
2) Client System(Remote, Other than SAP)
Now we have to pull the data from client system using WSDL (There will be one method for pulling the data in the WSDL file). The WSDL is provided by the client. We are importing that WSDL as external definition in Integration Repository and implementing the scenario SOAP to XI to RFC and configuring it Integration Directory.
Remember the client will not send the data to XI. Only we have to pull the data as mentioned above.
Problems:-
(i) How to send SOAP request to the client using XI only?
(ii) How to write a scheduler for this?
please help us.
Thanks...
Praveen GujjetiUr Suggestion
"My proposition looks like that. in R/3 you have scheduled RFC call in some program. This RFC calls XI and XI is calling using SOAP adapter your client. Then response go back to your RFC and you can handle this data."
As you mentioned, I am not scheduling any RFC call in R/3. If you go through my first query u can find two points where I am having some doubts......
How to send SOAP request to the client using XI only? Is it possible to send a SOAP request from XI?
If so,
(ii) How to write a scheduler for this? So that it will invoke the webservice and get the data from client application(system) -
Reg: Sending a Soap Request
Hi,
I am doing a Soap to RFC Scenario. I created a webservice in WebDynPro using NWDS and deployed that in local machine. I would like to send a soap request. How can I send it, if I have only NWDS??Hi,
>>> I created a webservice in WebDynPro using NWDS and deployed that in local machine
There are 2 ways while dealing with a webservice (same with any other adapters)
a. Webservice at the sender side.
b. Calling (invoking) the serivce of an existing webservice.
If you want to create a scenario as in option <b>a</b>
In this case, the sender is not actually a webservice, rather it is a client (webservice client) that invokes the webservice. The actual webservice in this case is your XI server. But again XI server is not a webservice. All XI does is understands the webservice client request and converts it to a XI message and does the operation.
If you wish to do such a scenario, there are guides available in SDN, (How to expose your outbund interface as webservice, How to Soap Adapters). Follow them.
Best Regards,
Jai Shankar -
How to test SOAP request using XML SPY
Hi,
1. I am new to WebServices concept, I have downloaded the wsdl file and now I need to test the SOAP requests using XML Spy. However, when I try to test the SOAP request generated by XML Spy I receive an error "Internal Error: Session is not available. Aborting" , How do I go ahead to generate the session, Is there a way I can provide the Username and password in the XML Spy to generate something like session.
2. The second problem that I am facing is when I import the WSDL in XML Spy and generate the SOAP request, for all the fields xml tags gets populated with "aaaaaaaaaaaa" kind of data through out. Am i doing something wrong ? Is there some step while creating a SOAP request that I am missing becasue of which the gibbrish data is being populated as default ?
Please Help !
Thanks .I got my SOAP Requests tested using SOAP UI .. However I am still looking for ways to test it using XML SPY.
In the SOAP UI Tool just do right click and select Add WS Security Token ..
Thanks :) -
Sending a SOAP request with binary attachment
hi all,
I am sending a SOAP request from a SOAP client SOAP UI with a binary attachment ( image file as an attachment ) and creating a file on the receiver side with attachment.
But how do i see this attachment in XI and do i have to specify some additional configuration in my receiver or sender adapter modules.
Regards ,
Loveena.creating a file on the receiver side with attachment.
Is this working? Receiver file adapter does not support attachment.
But how do i see this attachment in XI
In the pipeline steps, under payload, you will find two entries, one for payload and other for attachment.
Regards,
Prateek -
I'm trying to call a web service via the SOAP.request object in javascript embedded into my Interactive Form. I've successfully done this with SAP NetWeaver 7.0 trial version however now I'm having this issue on a production setup. The PDF generates fine and I can fill out the form and everything. I checked the properties of both PDF documents (one that works from the trial and one that doesn't from the prod box) and they are the same, expect the one that works is PDF Version 1.6, and the one that doesn't is PDF Version 1.7.
Here's the client-side error:
Acrobat EScript Built-in Functions Version 8.0
Acrobat Annotations / Collaboration Built-in Functions Version 8.0
Acrobat Annotations / Collaboration Built-in Wizard Functions Version 8.0
Acrobat Multimedia Version 8.0
Acrobat SOAP 8.0
NotAllowedError: Security settings prevent access to this property or method.
SOAP.request:31:XFA:data[0]:mainform[0]:btnRelease[0]:click
Here's the snippet of JavaScript code:
var response = SOAP.request();
Here are the security properties of the malfunctioning PDF:
Security Method: No Security
Can be Opened By: All versions of Acrobat
Printing: Allowed
Document Assembly: Not Allowed
Content Copying: Allowed
Content Copying for Accessibility: Allowed
Page Extraction: Not Allowed
Commenting: Allowed
Filling of form fields: Allowed
Signing: Allowed
Creation of Template Pages: Allowed
How do I determine what the culprit is?Michael,
PDF Version 1.6 means Adobe Reader 7.0.x family and PDF version 1.7 means Adobe Reader 8.0.x or 9.0.x if I am not wrong.
Also if you check LiveCycle Designer Help (Using LiveCycle Designer ES > Working with Data Sources > About data sources > Working with data connections) it clearly says that with LiveCycle Designer 8.0 secured web services are not supported and there are additional security settings for Reader 8.0 onwards, that may be causing the issue.
Chintan -
How to handle multiple SOAP requests for ArrayCollection initialization?
Hello.
I want to initialize some ArrayCollection with objects, which receive field values via SOAP requests (in getUdfValuePrj function).
for (var i:int=0; i < data.length; i++)
var task:Task=new Task();
task.laborio = getUdfValuePrj(data[i].id, LABORIOUSNESS);
tempTaskArray.addItem(task);
Here is my WebService:
private function initWebServices(wsdl:String):void
_udfWs = new WebService();
_udfWs.wsdl = wsdl;
_udfWs.getTaskUDFValue.addEventListener("result",
getTaskUDFValueResult);
_udfWs.getTaskUDFValue.addEventListener("fault", handleFault);
_udfWs.loadWSDL();
The question is, how functions getUdfValuePrj and getTaskUDFValueResult should look like?
I think that is no good:
private function getTaskUDFValueResult(event:ResultEvent):String
_udfValue = event.result as String;
private function getUdfValuePrj (taskId:String, udfCaption:String):String
_udfValue = "Loading...";
_udfWs.getTaskUDFValue (taskId,udfCaption);
while (_udfValue == "Loading...")
return _udfValue;There is no any ideas, or may be you don't understand me?
-
How to send SOAP request by HTTP POST?
I want to access a SOAP webservice using mx.rpc.soap.mxml.WebService.
Following is my code:
<mx:WebService id="miner_service" wsdl="http://localhost:8080"> <mx:operation name="hello" result="echoResultHandler(event);"></mx:operation></mx:WebService>
When debugging with that, I got such error message:
[Fault] exception, information=[RPC Fault faultString="HTTP request error" faultCode="Server.Error.Request" faultDetail="Unable to load WSDL. If currently online, please verify the URI and/or format of the WSDL (http://localhost:8080)"]
Then I use Fiddler try to capture the response returned by server, it's like this:
Error responseError code 501. Message: Unsupported method ('GET'). Error code explanation: 501 = Server does not support this operation.
But when I use python to send SOAP request by HTTP POST, the server will return correct response.
So how can I send SOAP request by HTTP POST?
(I tried <mx:WebService wsdl="http://localhost:8080" method="POST">, but no luck..)Sorry for my late reply..
There's no WSDL for that SOAP service
Maybe you are looking for
-
Hp all-in One remote prints test page but cannot find printer for anything else
The HP All-in-One application can print test pages on my 8610 but when I go to any document or photo and try to print I get the following message "This Printer is not available." I have checked and have the latest version of the HP All-in-one Printer
-
Zen Vision M Problem: Black Scr
Whenever I turn on my player I see the 'Creative' and 'ZEN' splash screens but then the screens disappear and the monitor is black. It's not pitch black as it would be if the player was off, but it's a blank screen and somewhat illuminated. The blue
-
My new iphone says some random name in itunes and not mine. Why?
Why does my iphone have a random name and not mine? When connected to itunes it says my devices name is some girls name.
-
Hi all, I have an issue with SD/FI. The details are given below: I would like to cancel a Sales Order due to wrong sold-to-party selected. There is an existing accounting document created. How do I proceed with the cancellation of the Sales Order?
-
I am confused about Bootcamp and Fusion. I installed XP to Bootcamp. Then I installed Fusion and installed XP there (it has been a while and I have forgotten the details). I always run XP from Fusion. It works fine. Recently I decided to boot into XP