473,796 Members | 2,544 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

WBI SOAP response - accented characters missing

Hi Gurus,
Please help me in this, I have tried all options available to me.

(Option 1)
I am making a simple request from VB.NET client to WBI generated WSDL and
passing request parameters. The response I am expecting should have some
accented characters (Customer Name: Lokalcenter Åbygård), but this gets
truncated and response is as follows (Customer Name: Lokalcenter bygrd). The
WSDL has utf-8 character set defined.

Here is my VB.NET code:

'Making Direct call to WBI exposed web service WSDL
Dim wbiOrderRqst As New WbiWS.SERVICE_S YNCH_OrderDetai ls_Content_Requ est
wbiOrderRqst.Sa lesOrderNumber = "5831"

Dim wbiOrderRspns As New WbiWS.SERVICE_S YNCH_OrderDetai ls_Content_Resp onse
Dim wbiOrderSubmit As New WbiWS.SERVICE_S YNCH_OrderDetai ls

'Pass request parameter and wait for response here
wbiOrderRspns = wbiOrderSubmit. requestOrderDet ails(wbiOrderRq st)

(Option 2)
I tried testing the same request/response using Mindreef's - SOAPscope (Web
services diagnostics tool), in this case the response what I get is (Customer
Name: Lokalcenter �byg�rd)

(Option 3)
Then I tried testing the same request/response using "HTTP Watch" tool, the
response is as follow (Customer Name: Lokalcenter �byg� rd)

What is the problem here or what mistake I am doing?

Appreciate your early response.
--
Thanks and regards,
- Satish :)
Nov 12 '05 #1
4 2031
Hi Satish,

We have reviewed this issue and are currently researching on it. We will
update you ASAP. Thanks for your patience!

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Nov 12 '05 #2
Hello Satish,

From Option 2&3, it seems accented characters have been sent to client.
(Only Sent, we cannot guarantee it was sent correctly since they gave wrong
results in SOAPscope and HTTP Tool.) In VB code, the issue was related to
how the client code handle the SOAP ot HTTP message, for example decoding
and serialization. The accented characters may be ignored during these
process.

I am not familar with WBI. I suggest you may contact vendor to see if they
can provide detail information about how their client handle these message
and accented characters. With these information, we may work out this issue.

Luke

Nov 12 '05 #3
Hi Luke,

You mentioned ...
"In VB code, the issue was related to how the client code handle the SOAP ot
HTTP message, for example decoding and serialization. The accented characters
may be ignored during these process."

So, does that mean, am I missing any step in my VB code like decoding, etc?
Because if you look at my code (see in-line comments below):

'Creating an request object here
Dim wbiOrderRqst As New WbiWS.SERVICE_S YNCH_OrderDetai ls_Content_Requ est
'Passing value to request object
wbiOrderRqst.Sa lesOrderNumber = "5831"

'Creating response object
Dim wbiOrderRspns As New WbiWS.SERVICE_S YNCH_OrderDetai ls_Content_Resp onse
'Creating submit object
Dim wbiOrderSubmit As New WbiWS.SERVICE_S YNCH_OrderDetai ls

'Pass request parameter and wait for response here
wbiOrderRspns = wbiOrderSubmit. requestOrderDet ails(wbiOrderRq st)

So, is that before getting the response, do I have to do something, which I
am missing?

Kindly let me know ASAP.

Thanks and regards,
"[MSFT]" wrote:
Hello Satish,

From Option 2&3, it seems accented characters have been sent to client.
(Only Sent, we cannot guarantee it was sent correctly since they gave wrong
results in SOAPscope and HTTP Tool.) In VB code, the issue was related to
how the client code handle the SOAP ot HTTP message, for example decoding
and serialization. The accented characters may be ignored during these
process.

I am not familar with WBI. I suggest you may contact vendor to see if they
can provide detail information about how their client handle these message
and accented characters. With these information, we may work out this issue.

Luke

Nov 12 '05 #4
Hello Satish,

For a normall web service, we only need simple code like what you have
done. However, most work (like decoding and serialization) will be done by
the proxy class and we don't know what happened in it. To trouble shoot the
problem , you may need debug into the function "requestOrderDe tails", to
see what happened in it. Unfortunetely, I have no idea about it because I
am not a professional on WBI. You have better consult a WBI professional
for this issue.

Luke

Nov 12 '05 #5

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

Similar topics

1
3843
by: Bernhard Georg Enders | last post by:
I'm using the php 'file' command to read the contents of an ASCII text file to a variable. The original text file contains some accented and special characters. The problem arises when I echo this variable: the accented characters are messed up. And not only accented characters, for example, the special characters ª is printed as ª. What can I do to correct this issue? I have tried, without success, to use the 'setlocale' command. TIA,
1
2454
by: Fuzzyman | last post by:
I've written an anagram finder that produces anagrams from a dictionary of words. The user can load their own dictionary. ( http://www.voidspace.org.uk/atlantibots/nanagram.html ) In order to ensure it is able to find anagrams properly I wanted to strip characters like punctuation etc from words in the dictionary and words the user entered. I test(ed) against the 26 English letters ( string.ascii_lowercase ).
4
1784
by: Davide Benini | last post by:
I cannot get accented charecters in my HTML output... I have tried to leave the accented characters in and to use iso-8859-1, but there it doesn't work either. I have tried to use à entity, but & is a reserved character. I have tried to use à or ß but the entity is not recognised, and I get as an output in the browser "à" or "ß"... Maybe there is sometheing missing in the header... This is a sample of my...
0
2330
by: Hans Kesting | last post by:
Hi, I'm trying to create a client for some webservice. BUT I have only limited information: * no WSDL available ("expected Q1-06") (it seems to be written in Java) * I don't have access (yet) to the real webservice * I *do* have example SOAP messages What I'm trying to do is to build a dummy webservice, which should accept (and respond with) the same SOAP messages. Then I can build my code
1
2269
by: Dr. Frankenchurn | last post by:
I have a question regarding SOAP. A basic "Hello World" web service was written then requested from an IIS server via TELNET. When a malformed request was sent, a SOAP exception was returned, just as I would expect: What was sent: POST /helloworld/helloworld.asmx?op=HelloWorld HTTP/1.0 What was received:
0
4369
by: Matt Wood | last post by:
Hi, I have written a Web Service for a customer which expects a SOAP message with Document/Literal encoding, and uses RoutingStyle=SoapServiceRoutingStyle.RequestElement to route the SOAP body message to my Web Method. The Web Method expects a string as its parameter and then feeds that string to an XML deserializer which maps the XML elements contained within the string to my custom objects, then performs an insert/update on an SQL...
2
6772
by: furrypop | last post by:
Hi, I'm trying to get the Perl SOAP::Lite examples to work on a Windows PC, running Apache 2.2.4. Apache is definitely serving CGI scripts, as I've tested a dummy Hello World thing. I'm also definitely getting a hit when I use a browser to get to my hibye.cgi server (well, a blank page rather than a 404). However, when I run my hibye.pl client, I receive a 503 Service Unavailable at H:\scripts\hibye.pl line 25. It works when I...
0
2307
by: shintu | last post by:
Hallo, I am trying to write french accented characters é è ê in Excel worksheet using my perl script , But I am stuck here as I couldnt find a way of writing it !: My code: use strict; use warnings;
4
2898
by: gsuns82 | last post by:
Hi all, I am facing a strange issue. i.e: I have a jsp page with an input text field where the user can enter searching value even along with Accented Characters.After that i am getting the input value at the controller inorder to compose a query,before that i am replacing Accented Characters with plain text values so that i can append the proper input value in the DBquery. I tried to replace the input string for ...
0
9680
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
9528
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
10230
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
10012
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...
0
9052
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
7548
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
6788
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();...
1
4118
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
3
2926
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.