473,499 Members | 1,724 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

wsdl problem, please help

1 New Member
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 1396

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

Similar topics

2
2832
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
2408
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
5059
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
10303
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
32098
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
7882
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
7546
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
2645
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
4136
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...
0
7134
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7012
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
7392
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...
1
4920
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
4605
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...
0
3105
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3101
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1429
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
667
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.