You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Scott Nichol <sn...@scottnichol.com> on 2002/09/10 21:42:39 UTC

Re: failure notice

What technology was used for the VB client, e.g. MS SOAP Toolkit?  If it is
the STK, is it the high level or low level API?

The content type in the VB client (application/x-www-form-urlencoded) is for
an HTTP POST invocation, not a SOAP invocation.  Microsoft web services
support HTTP GET, HTTP POST and SOAP; you must be specific in executing SOAP
rather than either of the other 2.  If you are invoking using the high level
API of the STK, you must edit the WSDL to remove HTTP GET and HTTP POST
message types.

For an STK interop overview, see, for example,
http://www.scottnichol.com/vbclientapachesoap.htm and
http://www.scottnichol.com/vbclienthiapachesoap.htm.

Scott Nichol

----- Original Message -----
From: <Ra...@IMCParts.Net>
To: <so...@xml.apache.org>
Sent: Tuesday, September 10, 2002 1:30 PM
Subject: FW: failure notice


Please include this email in the xml.apache.org SOAP mailing list.

-----Original Message-----
From: MAILER-DAEMON@apache.org [mailto:MAILER-DAEMON@apache.org]
Sent: Tuesday, September 10, 2002 10:28 AM
To: RangaJ@IMCParts.Net
Subject: failure notice

Hi. This is the qmail-send program at apache.org.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<so...@xml.apache.org>:
Sorry, only subscribers may post. If you are a subscriber, please forward
this message to soap-user-owner@xml.apache.org to get your new address
included (#5.7.2)

--- Below this line is a copy of the message.

Return-Path: <Ra...@IMCParts.Net>
Received: (qmail 352 invoked from network); 10 Sep 2002 17:27:55 -0000
Received: from mail.imcparts.net (HELO ipcs01.imc-domain.com)
(216.111.176.227)
  by daedalus.apache.org with SMTP; 10 Sep 2002 17:27:55 -0000
Received: by IPCS01.imc-domain.com with Internet Mail Service (5.5.2653.19)
id <S3YSW3HK>; Tue, 10 Sep 2002 09:42:11 -0700
Message-ID: <93...@IPCS01.imc-domain.com>
From: RangaJ@IMCParts.Net
To: soap-user@xml.apache.org
Subject: Soap Interoperability
Date: Tue, 10 Sep 2002 09:42:04 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C258E8.FE551140"
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C258E8.FE551140
Content-Type: text/plain

Dear All,
We are running  Websphere Application Server 3.5.4 running on iSeries  5.1
I have installed Apache SOAP server(2.3) .
I have both RPC and Messaging service deployed.
Now when I call my RPC or Messaging service using my Java Client it works
perfectly.

However our vendor uses a VB client to send requests.
Now when we call using a VB client  to call my service (RPC or Messaging) it
gives an error 500 with the following message:

<faultstring>Unsupported content type
&quot;application/x-www-form-urlencoded&quot;, must be:
&quot;text/xml&quot;.</faultstring>

In the request header in the VB client the Content Type is being set to
"text/xml".

I ran a comparison of the Request Headers from My Java Client and the one
from the VB client.

The Java client contains a value "SOAP Action" which is not there in the
request from VB client.

The VB client contains values such as Cookies, Keep-Alive, Session-Id etc.

I wonder if this is the reason for the error. If anyone has any idea how to
overcome this, please let me know.

Any help will be appreciated.

Thanks,
Ranga Jambunathan
Interamerican Motor Corporation


------_=_NextPart_001_01C258E8.FE551140
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">


<meta name=3DProgId content=3DWord.Document>
<meta name=3DGenerator content=3D"Microsoft Word 10">
<meta name=3DOriginator content=3D"Microsoft Word 10">
<link rel=3DFile-List href=3D"cid:filelist.xml@01C258AE.5181F3A0">
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]-->
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;
text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;
text-underline:single;}
span.EmailStyle17
{mso-style-type:personal-compose;
mso-style-noshow:yes;
mso-ansi-font-size:10.0pt;
mso-bidi-font-size:10.0pt;
font-family:Arial;
mso-ascii-font-family:Arial;
mso-hansi-font-family:Arial;
mso-bidi-font-family:Arial;
color:windowtext;}
span.SpellE
{mso-style-name:"";
mso-spl-e:yes;}
span.GramE
{mso-style-name:"";
mso-gram-e:yes;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */=20
 table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";}
</style>
<![endif]-->
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple =
style=3D'tab-interval:.5in'>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Dear All,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>We are <span class=3DGramE>running<span
style=3D'mso-spacerun:yes'>&nbsp; </span><span =
class=3DSpellE>Websphere</span></span>
Application Server 3.5.4 running on <span =
class=3DSpellE>iSeries</span><span
style=3D'mso-spacerun:yes'>&nbsp; =
</span>5.1<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I have installed Apache SOAP <span =
class=3DGramE>server(</span>2.3)
.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I have both RPC and Messaging service =
deployed.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Now when I call my RPC or Messaging service using my =
Java
Client it works perfectly.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>However our vendor uses a VB client to send =
requests.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Now when we call using a VB <span =
class=3DGramE>client <span
style=3D'mso-spacerun:yes'>&nbsp;</span>to</span> call my service (RPC =
or
Messaging) it gives an error 500 with the following =
message:<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&lt;<span class=3DSpellE><span =
class=3DGramE>faultstring</span></span><span
class=3DGramE>&gt;</span>Unsupported content type &amp;<span =
class=3DSpellE>quot;application/x-www-form-urlencoded&amp;quot</span>;,
must be: &amp;<span =
class=3DSpellE>quot;text/xml&amp;quot</span>;.&lt;/<span
class=3DSpellE>faultstring</span>&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>In the request header in the VB client the Content =
Type is
being set to "text/xml".<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I ran a comparison of the Request Headers from My =
Java
Client and the one from the VB client.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>The Java client contains a value "SOAP Action"
which is not there in the request from VB =
client.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>The VB client contains values such as Cookies, =
Keep-Alive, <span
class=3DGramE>Session</span>-Id etc.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I wonder if this is the reason for the error. If =
anyone has
any idea how to overcome this, please let me =
know.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Any help will be =
appreciated.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Thanks,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;mso-no-proof:yes'>Ranga =
Jambunathan</span></font><span
style=3D'mso-no-proof:yes'><o:p></o:p></span></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;mso-no-proof:yes'>Interamerican Motor =
Corporation</span></font><span
style=3D'mso-no-proof:yes'><o:p></o:p></span></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>

------_=_NextPart_001_01C258E8.FE551140--



--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>