Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Fx Webservice Introspection wizard bug

Avatar

Level 2
It seems the Fx Webservice Introspection is not interpreting
the wsdl correctly. By using TCPMonitor I was able to capture my
soap request from my java spring-ws junit test. The correct
response is as follows:



<SOAP-ENV:Envelope xmlns:SOAP-ENV="
http://schemas.xmlsoap.org/soap/envelope/">

<SOAP-ENV:Header/>

<SOAP-ENV:Body>

<ns4:ProcessChucksPick3LotteryNumberRequest

xmlns:ns2="
http://www.chuckspick3.com/WebserviceClient"

xmlns:ns3="
http://www.chuckspick3.com/lotterysystem/common-schemas"

xmlns:ns4="
http://www.chuckspick3.com/lotterysystem/schemas">

<ns2:webServiceClient>

<ns2:id>0</ns2:id>

<ns2:customerName>test</ns2:customerName>


<ns2:customerUserName>test</ns2:customerUserName>

<ns2:custoemrPw>test</ns2:custoemrPw>

</ns2:webServiceClient>

<ns3:chucksPick3LotteryNumber>

<ns3:number>345</ns3:number>


<ns3:requestDate>2008-10-29T20:32:37.171-05:00</ns3:requestDate>

<ns3:drawingType>MidDay</ns3:drawingType>

</ns3:chucksPick3LotteryNumber>

</ns4:ProcessChucksPick3LotteryNumberRequest>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>



Using the code generated from the Fx Webservice Introspection
wizard I get the following invalid soap request:

notice that there are no namespaces specified.

<SOAP-ENV:Envelope>

<SOAP-ENV:Body>

<tns:webServiceClient>

<tns:id>1</tns:id>

<tns:customerName>test</tns:customerName>


<tns:customerUserName>test</tns:customerUserName>

<tns:custoemrPw>test</tns:custoemrPw>

</tns:webServiceClient>

<ns0:chucksPick3LotteryNumber>

<ns0:number>234</ns0:number>

<ns0:requestDate xsi:nil="true"/>

<ns0:drawingType>Day</ns0:drawingType>

<ns0:type>Customer Provided Winning Pick 3 Lottery
Number</ns0:type>

</ns0:chucksPick3LotteryNumber>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>



I think there is a bug in the code generated from the Fx
Webservice Introspection wizard. You can download or view my wsdl
by clicking
here.




If this is not a bug, can some one please tell me what I am
doing wrong.



I hope someone will respond to this post as I really want to
use flex for webservices; but have not been successful.



Thanks!

0 Replies

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now