473,381 Members | 1,428 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,381 software developers and data experts.

wsdl problem, please help

Hi im having a problem with my wsdl, It generates perfectly and I can create the objects needed from the contract perfectly.

The problem comes when I try to pass the object back into the getInitialAvailability function so that I can get the response back.

Heres the error im gettting.
System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: http://v2_0.soap:getInitialAvailabilityRequest.
at System.Web.Services.Protocols.Soap11ServerProtocol Helper.RouteRequest()
at System.Web.Services.Protocols.SoapServerProtocol.R outeRequest(SoapServerMessage message)
at System.Web.Services.Protocols.SoapServerProtocol.I nitialize()
at System.Web.Services.Protocols.ServerProtocolFactor y.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)

does anyone have any idea what the trouble is? thanks in advance

Stephen

heres how im binding the wsdl to the .cs code
[WebService(Namespace = "http://v2_0.soap")]
[WebServiceBinding(Name = "SoapEndPointservice", Location = "xmlRepository/SoapEndPointService.wsdl")]
public class SoapEndPoint : System.Web.Services.WebService
{

[WebMethod]
[SoapDocumentMethod(Action = "http://v2_0.soap:getInitialAvailability", Binding = "SoapEndPointservice")]
public InitialAvailabiltyResponse getInitialAvailability(InitialAvailabiltyRequest requestObject)



and heres the wsdl

<!--WSDL generated by thinktecture WSCF; version 0.7.6319.1-->
<!--Tuesday, 30-10-2007 - 12:37 PM-->
<definitions xmlns:tns="http://v2_0.soap" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:import1="http://v2_0.soap/initialAvailabilityResponse" xmlns:import0="http://v2_0.soap/initialAvailabilityRequest" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SoapEndPointservice" targetNamespace="http://v2_0.soap" xmlns="http://schemas.xmlsoap.org/wsdl/">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" />
<types>
<xsd:schema>
<xsd:import schemaLocation="initialAvailabilityRequest.xsd" namespace="http://v2_0.soap/initialAvailabilityRequest" />
<xsd:import schemaLocation="initialAvailabilityResponse.xsd" namespace="http://v2_0.soap/initialAvailabilityResponse" />
</xsd:schema>
</types>
<message name="getInitialAvailabilityRequest">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" />
<part name="messagePart" element="import0:initialAvailabiltyRequest" />
</message>
<message name="getInitialAvailabilityResponse">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" />
<part name="messagePart" element="import1:initialAvailabiltyResponse" />
</message>
<portType name="SoapEndPointserviceInterface">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" />
<operation name="getInitialAvailability">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" />
<input message="tns:getInitialAvailabilityRequest" />
<output message="tns:getInitialAvailabilityResponse" />
</operation>
</portType>
<binding name="SoapEndPointservice" type="tns:SoapEndPointserviceInterface">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
<operation name="getInitialAvailability">
<soap:operation soapAction="http://v2_0.soap:getInitialAvailabilityRequest" style="document" />
<input>
<soap:body use="literal" />
</input>
<output>
<soap:body use="literal" />
</output>
</operation>
</binding>
</definitions>
Oct 30 '07 #1
0 1389

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Tomislav Lepusic | last post by:
Hello, I don't know if this is the right group (I'm more in Perl, know nothing about Python), so if you can help me thanks, if not, sorry to bother you. I'm working on my student project and...
1
by: easoft | last post by:
Hi I have a problem, I have a wsdl file, I try this import(c#) -> error. but this file is good in wsdl to php, and wsdl to java
5
by: Kevin Burton | last post by:
I am running wsdl.exe to try and generate some classes and I am getting: wsdl ppc.wsdl Microsoft (R) Web Services Description Language Utility Copyright (C) Microsoft Corporation 1998-2002....
5
by: Mike Logan | last post by:
I used WSDL.exe to generate a client side web proxy for a web service, called the web service, got the results but an array returned by the web service is not in the results. However if I use...
3
by: John K | last post by:
I am trying to eliminate the capability of displaying the details of a web service by disabling WSDL generation in the web.config file. I have made the following changes to the web.config: ...
9
by: Nick Locke | last post by:
I have a fairly simple structure: - Simple Types in an XSD - Complex Types (one file) in another XSD, importing the Simple Types - More Complex Types (second file) in another XSD, again...
3
by: =?Utf-8?B?TWFucHJlZXQgU3VzaGls?= | last post by:
I am having a Webservice within which i am throwing SOAP Exceptions and therefore whenever something wrong happens a SOAP fault comes up in the response - see below: <?xml version="1.0"...
0
by: Eternal Snow | last post by:
Hi all. I have some trouble by using WCF while creating WSDL. Please follow that: 1 Create a WCF service in EXE mode (not tried in IIS), add a basicHTTPBinding and a mexHttpBinding. 2 Run it,...
1
by: jineshpmj123 | last post by:
Hi, I have a problem with processing WSDL file using SOAP. I want to call Rhapsody webservice using Python. But i have SSL certification key and cert , how to pass this information when i...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.