473,779 Members | 1,884 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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:operati on name="ccValidat eCard" parameterOrder= "merchantNa me ccn
expdate maskedCcn cardType returnCode">
<wsdl:input message="impl:c cValidateCardRe quest"
name="ccValidat eCardRequest"/>
<wsdl:output message="impl:c cValidateCardRe sponse"
name="ccValidat eCardResponse"/>
</wsdl:operation>

Normally I would building up my soap object using

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

<wsdl:operati on name="PaymentCC ">
<wsdl:input message="tns:Pa ymentCCSoapIn"/>
<wsdl:output message="tns:Pa ymentCCSoapOut"/>
</wsdl:operation>

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

<s:element name="PaymentCC ">
−
<s:complexTyp e>
−
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="creditCar dInfo"
type="s1:CCStru ct"/>
</s:sequence>
</s:complexType>
</s:element>

And when i look at CCStruct i see..

<s:complexTyp e name="CCStruct" >
−
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="dUserID" type="s:double"/>
<s:element minOccurs="1" maxOccurs="1" name="dBaseAmou nt"
type="s:double"/>
<s:element minOccurs="0" maxOccurs="1" name="strApplic ationID"
type="s:string"/>
<s:element minOccurs="1" maxOccurs="1" name="dAmount" type="s:double"/>
<s:element minOccurs="0" maxOccurs="1" name="dBaseAmou nts"
type="s1:ArrayO fDouble"/>
<s:element minOccurs="1" maxOccurs="1" name="dConvFee"
type="s:double"/>
<s:element minOccurs="0" maxOccurs="1" name="strAcctNu m"
type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="strExpDat e"
type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="strCVV2" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="strAcctHo lderName"
type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="strAcctHo lderAddress1"
type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="strAcctHo lderAddress2"
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="strCountr y"
type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="strEmail"
type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="strHomePh one"
type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="strBusine ssPhone"
type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="strTransa ctionData"
type="s:string"/>
<s:element minOccurs="1" maxOccurs="1" name="bSignatur eFlag"
type="s:boolean "/>
<s:element minOccurs="0" maxOccurs="1" name="strSource ID"
type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="strTrackD ata"
type="s:string"/>
<s:element minOccurs="1" maxOccurs="1" name="transacti onSource"
type="s1:Transa ctionSource"/>
<s:element minOccurs="1" maxOccurs="1" name="bDelayCap ture"
type="s:boolean "/>
<s:element minOccurs="1" maxOccurs="1" name="iTimeout" type="s:int"/>
<s:element minOccurs="0" maxOccurs="1" name="cde"
type="s1:ArrayO fString"/>
<s:element minOccurs="0" maxOccurs="1" name="strCardTy pe"
type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="strCustom erID"
type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" name="strAcctHo lderAddress"
type="s:string"/>
<s:element minOccurs="1" maxOccurs="1" name="dFee" type="s:double"/>
<s:element minOccurs="0" maxOccurs="1" name="strZipCod e"
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 2808

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

Similar topics

24
8700
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 follow. Also, it appears to be more compact. Are IDL and WSDL equally powerful in expressing complex data types, and describing inheritance and association relationships? What would be the most compelling reasons to choose one over the other?
5
4735
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 timeInstant or float defined in the xsd namespace: "http://www.w3.org/2000/10/XMLSchema".
0
1569
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> 2. <SOAP-ENV:Body><Tag2><Tag3>It is also ok</Tag3></Tag2></SOAP-ENV:Body> The question is, if I write the wsdl as below, it defines the
1
9905
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 more operations were skipped. Warnings were encountered. Review generated source comments for more details.
0
1953
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 created an ASMX file from this. I've then set the Binding for the class and methods and set the Location to my WSDL file. If I put the wsdl:service element in the WSDL file that points to my endpoint, I can go to Add Web Reference and my methods...
0
1691
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 that if i generate a proxy from the wsdl in websphere, i can't get the databean if refer the proxy's url my tomcat's (i simply recive null). this is my tomcats's wsdl:
0
4846
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 WebService/Schema. Unable to import binding 'MyRemoteObjectBinding' from namespace 'http://schemas.microsoft.com/clr/nsassem/RemoteServer/RemoteServer%2C%20Version%3D1.0.0.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dnull'. Unable to import...
0
2146
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" targetNamespace="http://swaMaragatoNS" xmlns:tns="http://swaMaragatoNS" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
3
9436
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
1415
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 getInitialAvailability function so that I can get the response back. Heres the error im gettting. System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: http://v2_0.soap:getInitialAvailabilityRequest. ...
0
9632
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9471
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10302
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10136
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8958
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7478
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6723
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5501
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3631
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.