You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by to...@simrad.com on 2001/04/24 10:22:11 UTC

Urgent! RE: Java app to talk to MS soap service


Silvio, Santala and all:

Currently trying to access a Microsoft SOAP service from an Apache client, I
seem to have a problem with generating a proper SOAP-action http header. My
current versions are "MS SOAP 2 Beta 2" & Apache 2.1 (just upgraded).

Error:

[Header=null] [methodName=SetParameters]
[targetObjectURI=http://tempuri.org/message/]
[encodingStyleURI=http://schemas.xmlsoap.org/soap/encoding/]
[SOAPContext=[Parts={}]] [Params={[[name=bstrParams] [type=class
java.lang.String] [value=TransceiverSettings.Range:300]
[encodingStyleURI=null]]}]

Caught SOAPException (SOAP-ENV:Protocol): Unsupported response content type
"text/html", must be: "text/xml". Response was:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

<html dir=ltr>

<head>
.
.
.
This is usually caused by a server-side script not sending the proper
WWW-Authenticate header field. Using Active Server Pages scripting this is done
by using the <strong>AddHeader</strong> method of the <strong>Response</strong>
object to request that the client use a certain authentication method to access
the resource.
--------------------------

Q1: Could one of you provide some help on this (probable header) error ?
Q2: I tried to use your "recipe" when upgrading to Apache ver. 2.1, Silvio so
there should be no "xsi typing"
     errors and need for extra (MS) patches now, right ?

TIA !
Toril



---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


RE: Urgent! RE: Java app to talk to MS soap service

Posted by Silvio Fiorito <si...@ntr.net>.
Could you email me (off list) the WSDL file and Java source you're using?

Thanks,
Silvio
silvio@ntr.net

-----Original Message-----
From: toril.andersson@simrad.com [mailto:toril.andersson@simrad.com]
Sent: Tuesday, April 24, 2001 4:22 AM
To: soap-user@xml.apache.org
Subject: Urgent! RE: Java app to talk to MS soap service




Silvio, Santala and all:

Currently trying to access a Microsoft SOAP service from an Apache client, I
seem to have a problem with generating a proper SOAP-action http header. My
current versions are "MS SOAP 2 Beta 2" & Apache 2.1 (just upgraded).

Error:

[Header=null] [methodName=SetParameters]
[targetObjectURI=http://tempuri.org/message/]
[encodingStyleURI=http://schemas.xmlsoap.org/soap/encoding/]
[SOAPContext=[Parts={}]] [Params={[[name=bstrParams] [type=class
java.lang.String] [value=TransceiverSettings.Range:300]
[encodingStyleURI=null]]}]

Caught SOAPException (SOAP-ENV:Protocol): Unsupported response content type
"text/html", must be: "text/xml". Response was:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

<html dir=ltr>

<head>
.
.
.
This is usually caused by a server-side script not sending the proper
WWW-Authenticate header field. Using Active Server Pages scripting this is
done
by using the <strong>AddHeader</strong> method of the
<strong>Response</strong>
object to request that the client use a certain authentication method to
access
the resource.
--------------------------

Q1: Could one of you provide some help on this (probable header) error ?
Q2: I tried to use your "recipe" when upgrading to Apache ver. 2.1, Silvio
so
there should be no "xsi typing"
     errors and need for extra (MS) patches now, right ?

TIA !
Toril



---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


RE: Urgent! RE: Java app to talk to MS soap service

Posted by Silvio Fiorito <si...@ntr.net>.
Could you email me (off list) the WSDL file and Java source you're using?

Thanks,
Silvio
silvio@ntr.net

-----Original Message-----
From: toril.andersson@simrad.com [mailto:toril.andersson@simrad.com]
Sent: Tuesday, April 24, 2001 4:22 AM
To: soap-user@xml.apache.org
Subject: Urgent! RE: Java app to talk to MS soap service




Silvio, Santala and all:

Currently trying to access a Microsoft SOAP service from an Apache client, I
seem to have a problem with generating a proper SOAP-action http header. My
current versions are "MS SOAP 2 Beta 2" & Apache 2.1 (just upgraded).

Error:

[Header=null] [methodName=SetParameters]
[targetObjectURI=http://tempuri.org/message/]
[encodingStyleURI=http://schemas.xmlsoap.org/soap/encoding/]
[SOAPContext=[Parts={}]] [Params={[[name=bstrParams] [type=class
java.lang.String] [value=TransceiverSettings.Range:300]
[encodingStyleURI=null]]}]

Caught SOAPException (SOAP-ENV:Protocol): Unsupported response content type
"text/html", must be: "text/xml". Response was:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

<html dir=ltr>

<head>
.
.
.
This is usually caused by a server-side script not sending the proper
WWW-Authenticate header field. Using Active Server Pages scripting this is
done
by using the <strong>AddHeader</strong> method of the
<strong>Response</strong>
object to request that the client use a certain authentication method to
access
the resource.
--------------------------

Q1: Could one of you provide some help on this (probable header) error ?
Q2: I tried to use your "recipe" when upgrading to Apache ver. 2.1, Silvio
so
there should be no "xsi typing"
     errors and need for extra (MS) patches now, right ?

TIA !
Toril



---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org