Objectmix
Tags Register Mark Forums Read

ASP web service with ssl in soap toolkit 3 problem : XML SOAP

This is a discussion on ASP web service with ssl in soap toolkit 3 problem within the XML SOAP forums in Framework and Interface Programming category; Hi I somehow can't access my web service thru SSL. I tried all things even including certificates in Local Computers (even in Imediate trust certificate and rebooting) but failed. This error message below keeps on appearing. I also found out that the message successfully went to the web service as it returned an exception from there however its the response part which is the failed part. You can try this on your own since the webservice is publicly hosted. SoapMapper:Restoring data into SoapMapper ProcessResult failed HRESULT=0x80070057: The parameter is incorrect. - Client:Unspecified client error. HRESULT=0x80070057: The parameter is incorrect Code: ...


Object Mix > Framework and Interface Programming > XML SOAP > ASP web service with ssl in soap toolkit 3 problem

Reply

 

LinkBack Thread Tools
  #1  
Old 04-27-2005, 09:52 AM
Junior Member
 
Join Date: Nov 2009
Posts: 0
Application Development is on a distinguished road
Default ASP web service with ssl in soap toolkit 3 problem

Hi I somehow can't access my web service thru SSL. I tried all things even
including certificates in Local Computers (even in Imediate trust certificate
and rebooting) but failed. This error message below keeps on appearing. I
also found out that the message successfully went to the web service as it
returned an exception from there however its the response part which is the
failed part.

You can try this on your own since the webservice is publicly hosted.

SoapMapper:Restoring data into SoapMapper ProcessResult failed
HRESULT=0x80070057: The parameter is incorrect. - Client:Unspecified client
error. HRESULT=0x80070057: The parameter is incorrect

Code:
<%

Dim inXML
inXML = "<process>" & _
"<eaccess>" & _
"<signInName>brwdole@yehey.com</signInName>" & _
"<password>lkjhgf</password>" & _
"</eaccess>" & _
"<products>" & _
"<product id=""3""><productName>Wood Furniture - LASAM FURNITURE PRODUCERS
ASSOCIA</productName>" &
"<description>Wood</description><quantity>1</quantity><unitPrice>100</unitPrice></product></products>" & _
"</process>"

On Error Resume Next

Set soapclient = CreateObject("MSSOAP.SoapClient30")
Call soapclient.MSSoapInit(Server.MapPath("payplus.wsdl "), "Payplus",
"PayplusSoap")
'Call
soapclient.MSSoapInit("https://secure.yehey.com/payplus/services/payplus.asmx?wsdl", "Payplus", "PayplusSoap")
'set SoapClient3.ConnectorProperty = New HttpConnector30
'if (SoapClient3.ConnectorProperty is nothing) then
Response.Write("asdfsdaf")

'SoapClient3.ConnectorProperty("EndPointURL")="htt ps://secure.yehey.com/payplus/services/payplus.asmx?wsdl"
'SoapClient3.ConnectorProperty("SSLClientCertifica teName") =
"LOCAL_MACHINE\Trusted Root Cetificate
Authorities\Certificates\secure.yehey.com"
'SoapClient3.ConnectorProperty("UseSSL") = True
'SoapClient3.ConnectorProperty("SoapAction") = "Post"
if err <> 0 then
if (SoapClient3.ConnectorProperty is nothing) then Response.Write("asdfsdaf")
Response.Write(err.description)
Response.Write("<br> ----- err.description ------- <br>")
end if

Response.Write(soapclient.Process(inXML))

if err <> 0 then
Response.Write(err.description)
Response.Write("asgasdf")
Response.Write("faultcode=" + SoapClient3.faultcode)
Response.Write("faultstring=" + SoapClient3.faultstring)
Response.Write("faultactor=" + SoapClient3.faultactor)
Response.Write("detail=" + SoapClient3.detail)
end if

%>



My wsdl:



<?xml version="1.0" encoding="utf-8"?>
<definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:s0="http://secure.yehey.com/2003/01/PayPlus"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
targetNamespace="http://secure.yehey.com/2003/01/PayPlus"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<types>
<s:schema elementFormDefault="qualified"
targetNamespace="http://secure.yehey.com/2003/01/PayPlus">
<s:element name="Process">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="inpData"
type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="ProcessResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="ProcessResult"
type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetStatus">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="inxml"
type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetStatusResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetStatusResult"
type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetRedirectURL">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="inpURL"
type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetRedirectURLResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1"
name="GetRedirectURLResult" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="string" nillable="true" type="s:string" />
</s:schema>
</types>
<message name="ProcessSoapIn">
<part name="parameters" element="s0:Process" />
</message>
<message name="ProcessSoapOut">
<part name="parameters" element="s0:ProcessResponse" />
</message>
<message name="GetStatusSoapIn">
<part name="parameters" element="s0:GetStatus" />
</message>
<message name="GetStatusSoapOut">
<part name="parameters" element="s0:GetStatusResponse" />
</message>
<message name="GetRedirectURLSoapIn">
<part name="parameters" element="s0:GetRedirectURL" />
</message>
<message name="GetRedirectURLSoapOut">
<part name="parameters" element="s0:GetRedirectURLResponse" />
</message>
<message name="ProcessHttpGetIn">
<part name="inpData" type="s:string" />
</message>
<message name="ProcessHttpGetOut">
<part name="Body" element="s0:string" />
</message>
<message name="GetStatusHttpGetIn">
<part name="inxml" type="s:string" />
</message>
<message name="GetStatusHttpGetOut">
<part name="Body" element="s0:string" />
</message>
<message name="GetRedirectURLHttpGetIn">
<part name="inpURL" type="s:string" />
</message>
<message name="GetRedirectURLHttpGetOut">
<part name="Body" element="s0:string" />
</message>
<message name="ProcessHttpPostIn">
<part name="inpData" type="s:string" />
</message>
<message name="ProcessHttpPostOut">
<part name="Body" element="s0:string" />
</message>
<message name="GetStatusHttpPostIn">
<part name="inxml" type="s:string" />
</message>
<message name="GetStatusHttpPostOut">
<part name="Body" element="s0:string" />
</message>
<message name="GetRedirectURLHttpPostIn">
<part name="inpURL" type="s:string" />
</message>
<message name="GetRedirectURLHttpPostOut">
<part name="Body" element="s0:string" />
</message>
<portType name="PayplusSoap">
<operation name="Process">
<input message="s0:ProcessSoapIn" />
<output message="s0:ProcessSoapOut" />
</operation>
<operation name="GetStatus">
<input message="s0:GetStatusSoapIn" />
<output message="s0:GetStatusSoapOut" />
</operation>
<operation name="GetRedirectURL">
<input message="s0:GetRedirectURLSoapIn" />
<output message="s0:GetRedirectURLSoapOut" />
</operation>
</portType>
<portType name="PayplusHttpGet">
<operation name="Process">
<input message="s0:ProcessHttpGetIn" />
<output message="s0:ProcessHttpGetOut" />
</operation>
<operation name="GetStatus">
<input message="s0:GetStatusHttpGetIn" />
<output message="s0:GetStatusHttpGetOut" />
</operation>
<operation name="GetRedirectURL">
<input message="s0:GetRedirectURLHttpGetIn" />
<output message="s0:GetRedirectURLHttpGetOut" />
</operation>
</portType>
<portType name="PayplusHttpPost">
<operation name="Process">
<input message="s0:ProcessHttpPostIn" />
<output message="s0:ProcessHttpPostOut" />
</operation>
<operation name="GetStatus">
<input message="s0:GetStatusHttpPostIn" />
<output message="s0:GetStatusHttpPostOut" />
</operation>
<operation name="GetRedirectURL">
<input message="s0:GetRedirectURLHttpPostIn" />
<output message="s0:GetRedirectURLHttpPostOut" />
</operation>
</portType>
<binding name="PayplusSoap" type="s0:PayplusSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"
style="document" />
<operation name="Process">
<soapperation
soapAction="http://secure.yehey.com/2003/01/PayPlus/Process" style="document"
/>
<input>
<soap:body use="literal" />
</input>
<output>
<soap:body use="literal" />
</output>
</operation>
<operation name="GetStatus">
<soapperation
soapAction="http://secure.yehey.com/2003/01/PayPlus/GetStatus"
style="document" />
<input>
<soap:body use="literal" />
</input>
<output>
<soap:body use="literal" />
</output>
</operation>
<operation name="GetRedirectURL">
<soapperation
soapAction="http://secure.yehey.com/2003/01/PayPlus/GetRedirectURL"
style="document" />
<input>
<soap:body use="literal" />
</input>
<output>
<soap:body use="literal" />
</output>
</operation>
</binding>
<binding name="PayplusHttpGet" type="s0:PayplusHttpGet">
<http:binding verb="GET" />
<operation name="Process">
<httpperation location="/Process" />
<input>
<http:urlEncoded />
</input>
<output>
<mime:mimeXml part="Body" />
</output>
</operation>
<operation name="GetStatus">
<httpperation location="/GetStatus" />
<input>
<http:urlEncoded />
</input>
<output>
<mime:mimeXml part="Body" />
</output>
</operation>
<operation name="GetRedirectURL">
<httpperation location="/GetRedirectURL" />
<input>
<http:urlEncoded />
</input>
<output>
<mime:mimeXml part="Body" />
</output>
</operation>
</binding>
<binding name="PayplusHttpPost" type="s0:PayplusHttpPost">
<http:binding verb="POST" />
<operation name="Process">
<httpperation location="/Process" />
<input>
<mime:content type="application/x-www-form-urlencoded" />
</input>
<output>
<mime:mimeXml part="Body" />
</output>
</operation>
<operation name="GetStatus">
<httpperation location="/GetStatus" />
<input>
<mime:content type="application/x-www-form-urlencoded" />
</input>
<output>
<mime:mimeXml part="Body" />
</output>
</operation>
<operation name="GetRedirectURL">
<httpperation location="/GetRedirectURL" />
<input>
<mime:content type="application/x-www-form-urlencoded" />
</input>
<output>
<mime:mimeXml part="Body" />
</output>
</operation>
</binding>
<service name="Payplus">
<port name="PayplusSoap" binding="s0:PayplusSoap">
<soap:address
location="https://secure.yehey.com/payplus/services/payplus.asmx" />
</port>
<port name="PayplusHttpGet" binding="s0:PayplusHttpGet">
<http:address
location="https://secure.yehey.com/payplus/services/payplus.asmx" />
</port>
<port name="PayplusHttpPost" binding="s0:PayplusHttpPost">
<http:address
location="https://secure.yehey.com/payplus/services/payplus.asmx" />
</port>
</service>
</definitions>
<!-- This document saved from
https://secure.yehey.com/payplus/ser...plus.asmx?WSDL -->
Reply With Quote
Reply

Thread Tools


Similar Threads

Thread Thread Starter Forum Replies Last Post
Handling web service timeout in ASP 3.0 using SOAP toolkit usenet XML SOAP 1 11-10-2003 11:02 PM
Re: .NET Web Service with VB6 and Soap Toolkit 3 usenet XML SOAP 1 09-17-2003 02:00 PM
RE: Accessing .NET 1.1 Web Service w/Soap Toolkit 2.0 SP2 usenet XML SOAP 0 08-12-2003 02:21 PM
Accessing .NET 1.1 Web Service w/Soap Toolkit 2.0 SP2 usenet XML SOAP 0 07-16-2003 04:10 PM


All times are GMT -5. The time now is 02:51 AM.