473,799 Members | 2,954 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4122
On 1 Feb 2007 03:14:14 -0800, Grzegorz Smith <GS*******@gmai l.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***@brunningo nline.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="QuickSear ch">
<xsd:complexTyp e>
<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="QuickSear chReturn">
<xsd:complexTyp e>
<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(nam e):
#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:complexTyp e name="AlbumResu lt">
<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:strin g"/>
<xsd:element name="KATG" minOccurs="0" maxOccurs="1"
type="xsd:strin g"/>
<xsd:element name="DTWO" minOccurs="0" maxOccurs="1"
type="xsd:strin g"/>
<xsd:element name="MISC" minOccurs="0" maxOccurs="1"
type="xsd:strin g"/>
<xsd:element name="LOCL" minOccurs="0" maxOccurs="1"
type="xsd:strin g"/>
<xsd:element name="OPIS" minOccurs="0" maxOccurs="1"
type="xsd:strin g"/>
</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...@brunningo nline.netwrote:
On 1 Feb 2007 03:14:14 -0800, Grzegorz Smith <GSlusa...@gmai l.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...@brunningon line.nethttp://www.brunningonl ine.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
5624
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: " The document was understood, but it could not be processed. - The WSDL document contains links that could not be resolved. - There was an error downloading
2
6905
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 this example, the MessageID element should always occur (minOccur=1, maxOccur=1), but the WSDL generates minOccur=0. I can't pinpoint why this is happening and I can't find a may to force this in the code either. Anyone have any insight? This...
1
6410
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 reference this wsdl in .NET it seems to do it fine, yet there are no objects to reference except RateQuoteBeanService. In the WSDL it looks like there should be getRateQuote, and QUOTEREQUEST, etc.
5
5404
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 separate files for ease of maintainability. These schemas are all part of the same namespace. When defining a web service that access more than one of these entities, the wsdl file generated by BEA contains multiple schema elements with the same...
5
5073
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. All rights reserved. Schema validation warning: Invalid 'name' attribute value: The ' ' character, hexadecimal value 0x20, cannot be included in a name.. Schema validation warning: Invalid 'name' attribute value: The ' '
0
1692
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:
5
4917
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 that any elements that are nested elements in the schema (not global elements) have their namespaces set to the null namespace. I can see that the proxy classes have serialization attributes specifying these nested elements as unqualified: ///...
3
9439
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
4980
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 code but the calls to web methods pass parameters by ref so that I have to call it like: XmlDocument doc = new XmlDocument(); doc.LoadXml(message);
1
1660
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 parsed by SOAPSonar and other applications. However, when I try to bring it into both Visual Studio 2003 and 2005 it doesn't seem to parse out the WSDL properly. The problem is that the method called GetItem should have one input parameter and...
0
9540
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
10475
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
10250
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...
1
10222
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10026
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7564
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
6805
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
5585
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4139
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.