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

Web Services / SOAP Toolkit / RPC vs literal encoding

I really need some help and know there are a lot of .Net Guru's taht read
these post and I need help.Below is what I am trying to do:

I have a web service that returns a class object that represents data being
returned. For example:

public Class Customers
public Name as String
Public Billing Address as Address
Public Shipping Address as Address
End Class

public Class Address
Public Street AS String
Public State AS String
Public City AS String
Public Zip AS String
End Class

When called from a .Net application the user can create an object to hold
the return data. This allows them to access the data directly without any
parsing: myCust.Name, myCust.ShippingAddress.Street, etc. When called by a
non-.Net language (Java, Perl) this all works and they get a string with the
XML representation of the object. They can then load this into an XML
parser and read the data. The problem is we have a customer that is usng
the SOAP Toolkit 3.0 and they cannot access the site being literal encoded
and they have to have it RPC encoded. I have created an RPC version of the
classes that just call the orignal classes, but it errors out trying to
return the class object.

Questions:

1) Does anyone know of anyway to automatically create the XML representation
of the class as a String so it can be used in an RPC version of the web
service? I have tried using the XmlSerializer and it give me an error about
trying to to a process that is not allowed. I have never used the
XmlSerializer and wonder it I am just doing something wrong.

2) Does anyone have any experience wiht using the SOAP Toollkit. If so,
does anyone have any example code on how to call a .Net web service that
uses literal encodinf. Most languages (Java, Perl, etc) have a way to set
this before making the SOAP call, but neither me or our client has found a
way to do this. If we could figure this out this is the prefered solution
so we do not have to have 2 versions of all our web services.
Nov 23 '05 #1
0 1590

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

Similar topics

0
by: Doug Farrell | last post by:
Hi everyone, I'm trying to build a program to interface to a SOAP/XML interface provided by one of our vendors. This interface is built with MS SOAP Toolkit 3.0, so I'm guessig they are running...
4
by: sonic_soul | last post by:
Hi, I was curious if I could make my webservice work with firefox client webservice functionality. (i got it to work with webservice.htc) I am able to get firefox to see my serverside web...
0
by: chr | last post by:
Hi, I'm trying to integrate a webservice into a c#-program, creating proxy classes from a wsdl-file with wsdl.exe. All works fine, except if containers are returned. Although I can see in the...
3
by: Ann Marinas | last post by:
Hi, All! I would like to ask about Windows Services and Web Services.... I was kinda intrigued about what these two technologies do, and would like to know the difference of each. Thank you...
0
by: Leonid | last post by:
Thanks a lot for your time! Here is WSDL: <?xml version="1.0" encoding="utf-8"?>
9
by: Phil B | last post by:
I am having a problem with a datetime from a web services provider The provider is sending the following SOAP response <?xml version="1.0" encoding="utf-8"?> <soap:Envelope...
0
by: S. Shawn Mehaffie | last post by:
I really need some help and know there are a lot of .Net Guru's taht read these post and I need help.Below is what I am trying to do: I have a web service that returns a class object that...
3
by: Ivan Zuzak | last post by:
Hello, My Python application calls web services available on the Internet. The web service being called is defined through application user input. The Python built-in library allows access to...
7
by: beachdog | last post by:
I'm using Visual Studio 2005/C# to build a web client. The web server is something I've written in a different framework, which does not support generating wsdl, so I have hand-built a wsdl file,...
0
by: krishnaraju | last post by:
HI to all, please help me.its urgent requirement. my question is this is the wsdl file i got from our client.please see at bottom. when iam trying to access that webmethods iam getting...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
0
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...
0
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,...
0
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...
0
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...

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.