Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SOAP issues. parameter dictionary.



Using WebServicesCore and the WDSL stub generation tool I have run into a bunch of number of issues when talking to certain SOAP servers.

1. On input the stubs expects parameters to be wrapped in a parameter dictionary. The server I am connecting to sends packets with out it they look like...

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
<soap:Body>
<Authenticate xmlns="http://www.lexisnexis.com/RiskSolutions/RMXML/V1/";>
<userid>string</userid>
<password>string</password>
<client_transaction_id>string</client_transaction_id>
</Authenticate>
</soap:Body>
</soap:Envelope>


I fixed this by changing the code that looks for the parameter dictionary.

2. When I send a transaction out WebServicesCore wraps my parameters in a parameter dictionary. The SOAP server Im talking to can not read this and expects things to look like the packet above.

So how can I turn this FEATURE off?

If a parameter dictionary a standard part of SOAP?
I don't see this behavior in my WO code or in my java/Axis code
so why does it show up when I use WebServicesCore?




-- Email: email@hidden iChat / AIM: email@hidden

Buy Art : http://www.starbounce.com
Listen to Music: http://www.trance-o-matic.com
Play Games: Plaid World Studios http://www.plaidworld.com
Learn game programming at http://www.idevgames.com
Day job: Software Engineer for http://www.riskwise.com, Part of LexisNexis
_______________________________________________
web-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/web-development
Do not post admin requests to the list. They will be ignored.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.