Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
A Llama #1
using Web Service with Complex-Type in WSDL
I have a web service developed in BEA WebLogic that I am trying to call. The
WSDL has two complex types in it and is of type document/literal. When the XML
is generated to be sent to the web service, there are additional <item> tags
that are inserted where the complex type object goes. I tried using the code
from the Web service section of the article
[url]http://www.macromedia.com/devnet/flex/articles/complex_data_print.html[/url] but the
result also included the <item> tags. I also tried hardcoding the XML into the
webservice call itself and got hte <item> tags. Does anybody know how to not
have these tags inserted? I have read that Flex has problems with
document/literal schemas. I do not have the option of changing the web service
itself to rpc/endoded. Here's what the XMl sent to the service should look like:
<PROCESS>
<EMAIL>email@address.com</EMAIL>
<ROOTPATH>path</ROOTPATH>
<PIC>
<NAME>pic0.jpg</NAME>
<DIR>PIC0/</DIR>
</PIC>
<PIC>
<NAME>pic1.jpg</NAME>
<DIR>PIC1/</DIR>
</PIC>
<GROUP>
<GROUPID>PICGroup0</GROUPID>
<PICTYPE>jpg</PICTYPE>
<PIC>
<NAME>pic3.jpg</NAME>
<DIR>PIC3/</DIR>
</PIC>
<PIC>
<NAME>pic4.jpg</NAME>
<DIR>PIC4/</DIR>
</PIC>
</GROUP>
</PROCESS>
and here is what actually gets sent:
<PROCESS>
<EMAIL>email@address.com</EMAIL>
<ROOTPATH>path</ROOTPATH>
<PIC xmlns=""/>
<item xmlns="">
<DIR>PIC0/</DIR>
<NAME>pic0.jpg</NAME>
</item>
<item xmlns="">
<DIR>PIC1/</DIR>
<NAME>pic1.jpg</NAME>
</item>
<GROUP xmlns=""/>
<item xmlns="">
<GROUPID>PICGroup0</GROUPID>
<PICTYPE>jpg</PICTYPE>
<PIC/>
<item>
<DIR>PIC3/</DIR>
<NAME>pic3.jpg</NAME>
</item>
<item>
<DIR>PIC4/</DIR>
<NAME>pic4.jpg</NAME>
</item>
</item>
</PROCESS>
A Llama Guest
-
Webservice and complex data type issue
I created a webservice that returned a structure which .Net doesn't seem to like. So I created a complex type using component and cfproperty to... -
Consuming Web Service that returns a Complex Data Type
All, I'm trying to consume a web service that returns a complex data type. I'm not having any luck. Hoping someone can point me in the right... -
WSDL Complex Data Types Call
Hello. I've tried everything I can to make a call to a WSDL service. I know that the service uses complex data types/structures. I've followed... -
Referencing web service complex data type within a second web service (like a delegate)
Hi, I am trying to figure out if ASP.NET XML Web Services and the WSDL standard can handle this type of scenario: I have two web services, and... -
Complex type as a return value
I have read the .net documentation about custom soap messages and using xml and soap attributes to deal with this problem, but after almost 2 days...



Reply With Quote

