473,320 Members | 1,804 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,320 software developers and data experts.

ZSI and WSDL schema

Hi all. I have problem with ZSI and WSDL schema.I generate from WSDL
by wsdl2py client method for webservice. I made soap call and
something goes wrong. Doeas anyone know hot to create some server code
by ZSI from WSDL?? I just suspectes that my return data from
webservice is in incorrect envelope -so maybe wsdl2py can help mi
generate correct server method, or just generate correct structure
that webservice should return.
Thanks for any help.
Gregor

Feb 1 '07 #1
2 4107
On 1 Feb 2007 03:14:14 -0800, Grzegorz Smith <GS*******@gmail.comwrote:
Hi all. I have problem with ZSI and WSDL schema.I generate from WSDL
by wsdl2py client method for webservice. I made soap call and
something goes wrong.
It might help if you were a little more specific.

--
Cheers,
Simon B
si***@brunningonline.net
http://www.brunningonline.net/simon/blog/
Feb 1 '07 #2
Ok here goes a detail:
I call two methods by soap. The response of that methods is described
by xml.
Here is first request: (method name QuickSearch, one parameter called
name)
<xsd:element name="QuickSearch">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="name" minOccurs="0" maxOccurs="1" type="xsd:int"/
>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
So here go 1 response (part of the wsdl):
<xsd:element name="QuickSearchReturn">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="name" minOccurs="0" maxOccurs="1" type="xsd:int"/
>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
and the methods that I call is here:

def QuickSearch(name):
#here done something by name paramater passed by
#and return parameter name
return {'name':50}
I don't know how to pack returned data to the proper envelope. When I
made SOAP call by hand (just like examples from ZSI everything goes
well), but when I made SOAP by WSDL everything goes wrong.

And here is the second question
I descripe response from my second SOAP Method, it looks like this:
<xsd:complexType name="AlbumResult">
<xsd:sequence>
<xsd:element name="NALB" minOccurs="0" maxOccurs="1" type="xsd:int"/
>
<xsd:element name="NFTG" minOccurs="0" maxOccurs="1" type="xsd:int"/
>
<xsd:element name="NAZW" minOccurs="0" maxOccurs="1"
type="xsd:string"/>
<xsd:element name="KATG" minOccurs="0" maxOccurs="1"
type="xsd:string"/>
<xsd:element name="DTWO" minOccurs="0" maxOccurs="1"
type="xsd:string"/>
<xsd:element name="MISC" minOccurs="0" maxOccurs="1"
type="xsd:string"/>
<xsd:element name="LOCL" minOccurs="0" maxOccurs="1"
type="xsd:string"/>
<xsd:element name="OPIS" minOccurs="0" maxOccurs="1"
type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
I have data prepared in Python script, but still don't know how to
made proper response envelop with that data.
As you see it's complicated type, but I don't what It should look like
to be proper response.
Any help?
Please
Gregor

Thanks Simon
On 1 Lut, 12:42, "Simon Brunning" <s...@brunningonline.netwrote:
On 1 Feb 2007 03:14:14 -0800, Grzegorz Smith <GSlusa...@gmail.comwrote:
Hi all. I have problem with ZSI and WSDL schema.I generate from WSDL
by wsdl2py client method for webservice. I made soap call and
something goes wrong.

It might help if you were a little more specific.

--
Cheers,
Simon B
s...@brunningonline.nethttp://www.brunningonline.net/simon/blog/

Feb 1 '07 #3

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

Similar topics

6
by: trexim | last post by:
Hi, I am trying to create a Web Reference for CSTA using the URL http://www.ecma-international.org/standards/ecma-348/csta-wsdl/csta-wsdl-all-operations.wsdl Visual .Net complains that: "...
2
by: joewhitehair | last post by:
Using the XSD.exe tool, I created a number of classes from my XSD file. When I generate the WSDL for my web service, the schema does not have the proper Occurance constraints for the attributes. In...
1
by: billa1972 | last post by:
Hi, I am trying to hook into Yellow Freight's rating webservice. Below is the wsdl. When i try and create a proxy file with wsdl.exe i get the following errors, see below. Also, when i...
5
by: Jeff | last post by:
We are using .Net and the wsdl Utility to generate proxies to consume web services built using the BEA toolset. The data architects on the BEA side create XML schemas with various entities in...
5
by: Kevin Burton | last post by:
I am running wsdl.exe to try and generate some classes and I am getting: wsdl ppc.wsdl Microsoft (R) Web Services Description Language Utility Copyright (C) Microsoft Corporation 1998-2002....
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...
5
by: CindyRob | last post by:
Using .NET framework 1.1 SP1, .NET framework SDK 1.1 SP1, Visual Studio .NET 2003, hotfixes 892202 and 823639. I create a proxy class using wsdl.exe, and in the serialized XML request, I see...
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
5
by: Nick K. | last post by:
I use wsdl.exe to generate client code to call a web service. The actual web service is generated with the BizTalk Web Services Publishing Wizard. I'm not sure this is particular to the BizTalk...
1
by: HYPERVIEW | last post by:
I am generating a web service from an application called Remedy. It has a sort of wizard that is responsible for creating the web service. It produces the following WDSL file that is properly...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.