473,414 Members | 1,697 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.

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_SYNCH_OrderDetails_Content_Request
wbiOrderRqst.SalesOrderNumber = "5831"

Dim wbiOrderRspns As New WbiWS.SERVICE_SYNCH_OrderDetails_Content_Response
Dim wbiOrderSubmit As New WbiWS.SERVICE_SYNCH_OrderDetails

'Pass request parameter and wait for response here
wbiOrderRspns = wbiOrderSubmit.requestOrderDetails(wbiOrderRqst)

(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 2013
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_SYNCH_OrderDetails_Content_Request
'Passing value to request object
wbiOrderRqst.SalesOrderNumber = "5831"

'Creating response object
Dim wbiOrderRspns As New WbiWS.SERVICE_SYNCH_OrderDetails_Content_Response
'Creating submit object
Dim wbiOrderSubmit As New WbiWS.SERVICE_SYNCH_OrderDetails

'Pass request parameter and wait for response here
wbiOrderRspns = wbiOrderSubmit.requestOrderDetails(wbiOrderRqst)

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 "requestOrderDetails", 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
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...
1
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...
4
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,...
0
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)...
1
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,...
0
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...
2
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...
0
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;...
4
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
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
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...
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.