473,385 Members | 2,004 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

WSDL and SOAP

Hey all,

I recently started working with an ecommerce vendor and was looking at
their WSDL to get an idea of how the data should go over. Now i've
worked with a different vendor in the past who also used WSDL/SOAP for
data exchange and have found some pecularities with this new vendor.

Normally, what i'm used to seeing is is a definition of the method like
so in the WSDL

<wsdl:operation name="ccValidateCard" parameterOrder="merchantName ccn
expdate maskedCcn cardType returnCode">
<wsdl:input message="impl:ccValidateCardRequest"
name="ccValidateCardRequest"/>
<wsdl:output message="impl:ccValidateCardResponse"
name="ccValidateCardResponse"/>
</wsdl:operation>

Normally I would building up my soap object using

soapobject.ccValidateCard (param, param, etc)
with the new vendor, the operations are defined differently..

<wsdl:operation name="PaymentCC">
<wsdl:input message="tns:PaymentCCSoapIn"/>
<wsdl:output message="tns:PaymentCCSoapOut"/>
</wsdl:operation>

It seems they are using complex types, the element PaymentCC is defined
as

<s:element name="PaymentCC">
−
<s:complexType>
−
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="creditCardInfo"
type="s1:CCStruct"/>
</s:sequence>
</s:complexType>
</s:element>

And when i look at CCStruct i see..

<s:complexType name="CCStruct">
−
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="dUserID" type="s:double"/>
<s:element minOccurs="1" maxOccurs="1" name="dBaseAmount"
type="s:double"/>
<s:element minOccurs="0" maxOccurs="1" name="strApplicationID"
type="s:string"/>
<s:element minOccurs="1" maxOccurs="1" name="dAmount" type="s:double"/>
<s:element minOccurs="0" maxOccurs="1" name="dBaseAmounts"
type="s1:ArrayOfDouble"/>
<s:element minOccurs="1" maxOccurs="1" name="dConvFee"
type="s:double"/>
<s:element minOccurs="0" maxOccurs="1" name="strAcctNum"
type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="strExpDate"
type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="strCVV2" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="strAcctHolderName"
type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="strAcctHolderAddress1"
type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="strAcctHolderAddress2"
type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="strCity" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="strState"
type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="strCountry"
type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="strEmail"
type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="strHomePhone"
type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="strBusinessPhone"
type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="strTransactionData"
type="s:string"/>
<s:element minOccurs="1" maxOccurs="1" name="bSignatureFlag"
type="s:boolean"/>
<s:element minOccurs="0" maxOccurs="1" name="strSourceID"
type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="strTrackData"
type="s:string"/>
<s:element minOccurs="1" maxOccurs="1" name="transactionSource"
type="s1:TransactionSource"/>
<s:element minOccurs="1" maxOccurs="1" name="bDelayCapture"
type="s:boolean"/>
<s:element minOccurs="1" maxOccurs="1" name="iTimeout" type="s:int"/>
<s:element minOccurs="0" maxOccurs="1" name="cde"
type="s1:ArrayOfString"/>
<s:element minOccurs="0" maxOccurs="1" name="strCardType"
type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="strCustomerID"
type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="strAcctHolderAddress"
type="s:string"/>
<s:element minOccurs="1" maxOccurs="1" name="dFee" type="s:double"/>
<s:element minOccurs="0" maxOccurs="1" name="strZipCode"
type="s:string"/>
</s:sequence>
</s:complexType>
So the issue i'm having is i don't see a method expecting parameters in
the WSDL, how am i supposed to send data with the webservice?

Thanks

-John

Jan 16 '07 #1
0 2773

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

24
by: Generic Usenet Account | last post by:
Does anyone have an opinion on how IDL and WSDL compare to each other? Are they equally powerful in their "expressive power"? Sometimes it appears to me that IDL is a little easier for humans to...
5
by: relaxedrob | last post by:
Hi All! I ran the following w3c example through my WSDL parser (SOA Editor from Cape Clear): http://www.w3.org/TR/wsdl#_rpcexample It told me that there were a bunch of erros about no...
0
by: Sonna Nach | last post by:
Hi All, I am writing a doc/lit web services, in which the elements under SOAPBody is unknown. That is, these two message are acceptable. 1. <SOAP-ENV:Body><Tag1>It is ok</Tag1></SOAP-ENV:Body>...
1
by: ffhansix | last post by:
Hi, I am having problems with generating a c# proxy class from a IBM websphere WSDL file, when running the wsdl.exe to create the c# proxy file command i recieve an error: Warning: one or...
0
by: Dave | last post by:
Hi, If anyone could help with this, I would greatly appreciate it! I've created my own WSDL file and referenced an XSD file too. I've generated a service side interface using wsdl /server, and...
0
by: Elhanan | last post by:
hi.. i have a small Web Service which is consumed by dotnet application the webservice is located in 2 places. the first is my local tomcat, and the second is in websphere server. problems is...
0
by: Jigar.Patel | last post by:
I have simple remoting server exposing following simple method. When I try to add webreference to this server in another project, it gives me following error: Custom tool error: Unable to import...
0
by: robert | last post by:
Hi all, I'm having a hard time resolving a namespace issue in my wsdl. Here's an element that explains my question, with the full wsdl below: <definitions name="MaragatoService"...
3
by: Siva | last post by:
Hi all, I want to Convert a WSDL to a SOAP message. Is there any way to do this. I am using .NET 2.0 Thanks in Advance Siva
0
by: StephenLiversidge | last post by:
Hi im having a problem with my wsdl, It generates perfectly and I can create the objects needed from the contract perfectly. The problem comes when I try to pass the object back into the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.