473,910 Members | 6,771 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 getInitialAvail ability function so that I can get the response back.

Heres the error im gettting.
System.Web.Serv ices.Protocols. SoapException: Server did not recognize the value of HTTP Header SOAPAction: http://v2_0.soap:getIn itialAvailabili tyRequest.
at System.Web.Serv ices.Protocols. Soap11ServerPro tocolHelper.Rou teRequest()
at System.Web.Serv ices.Protocols. SoapServerProto col.RouteReques t(SoapServerMes sage message)
at System.Web.Serv ices.Protocols. SoapServerProto col.Initialize( )
at System.Web.Serv ices.Protocols. ServerProtocolF actory.Create(T ype 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(Name space = "http://v2_0.soap")]
[WebServiceBindi ng(Name = "SoapEndPointse rvice", Location = "xmlReposit ory/SoapEndPointSer vice.wsdl")]
public class SoapEndPoint : System.Web.Serv ices.WebService
{

[WebMethod]
[SoapDocumentMet hod(Action = "http://v2_0.soap:getIn itialAvailabili ty", Binding = "SoapEndPointse rvice")]
public InitialAvailabi ltyResponse getInitialAvail ability(Initial AvailabiltyRequ est 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="h ttp://schemas.xmlsoap .org/wsdl/soap12/" xmlns:soap="htt p://schemas.xmlsoap .org/wsdl/soap/" xmlns:import1=" http://v2_0.soap/initialAvailabi lityResponse" xmlns:import0=" http://v2_0.soap/initialAvailabi lityRequest" xmlns:xsd="http ://www.w3.org/2001/XMLSchema" name="SoapEndPo intservice" targetNamespace ="http://v2_0.soap" xmlns="http://schemas.xmlsoap .org/wsdl/">
<wsdl:documenta tion xmlns:wsdl="htt p://schemas.xmlsoap .org/wsdl/" />
<types>
<xsd:schema>
<xsd:import schemaLocation= "initialAvailab ilityRequest.xs d" namespace="http ://v2_0.soap/initialAvailabi lityRequest" />
<xsd:import schemaLocation= "initialAvailab ilityResponse.x sd" namespace="http ://v2_0.soap/initialAvailabi lityResponse" />
</xsd:schema>
</types>
<message name="getInitia lAvailabilityRe quest">
<wsdl:documenta tion xmlns:wsdl="htt p://schemas.xmlsoap .org/wsdl/" />
<part name="messagePa rt" element="import 0:initialAvaila biltyRequest" />
</message>
<message name="getInitia lAvailabilityRe sponse">
<wsdl:documenta tion xmlns:wsdl="htt p://schemas.xmlsoap .org/wsdl/" />
<part name="messagePa rt" element="import 1:initialAvaila biltyResponse" />
</message>
<portType name="SoapEndPo intserviceInter face">
<wsdl:documenta tion xmlns:wsdl="htt p://schemas.xmlsoap .org/wsdl/" />
<operation name="getInitia lAvailability">
<wsdl:documenta tion xmlns:wsdl="htt p://schemas.xmlsoap .org/wsdl/" />
<input message="tns:ge tInitialAvailab ilityRequest" />
<output message="tns:ge tInitialAvailab ilityResponse" />
</operation>
</portType>
<binding name="SoapEndPo intservice" type="tns:SoapE ndPointserviceI nterface">
<soap:binding transport="http ://schemas.xmlsoap .org/soap/http" />
<operation name="getInitia lAvailability">
<soap:operati on soapAction="htt p://v2_0.soap:getIn itialAvailabili tyRequest" style="document " />
<input>
<soap:body use="literal" />
</input>
<output>
<soap:body use="literal" />
</output>
</operation>
</binding>
</definitions>
Oct 30 '07 #1
0 1420

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

Similar topics

2
2863
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 I'm totally lost and don't have any idea how to continue, and the deadline is 1.9.2004. Please help, 'couse i'm loosing myself in this XML/SOAP/RPC/WSDL things......
1
2435
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
5079
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. All rights reserved. Schema validation warning: Invalid 'name' attribute value: The ' ' character, hexadecimal value 0x20, cannot be included in a name.. Schema validation warning: Invalid 'name' attribute value: The ' '
5
10340
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 "Add Web Reference" for the same service the same function works appropriately. Here is the client proxy generated from WSDL.exe <System.Web.Services.Protocols.SoapDocumentMethodAttribute("capeconnect:AppSec:AppSecPortType#getApplicationUsers",
3
32197
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: <webServices> <wsdlHelpGenerator href="helpPage.aspx"/> <protocols> <remove name="Documentation" /> </protocols> </webServices>
9
7908
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 importing the Simple Types - A WSDL Definitions file, importing the two Complex Types files - A WSDL Service file, importing the WSDL Definitions file I have put all that together with XML Spy and that seems happy. I can also
3
7588
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" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"...
0
2684
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, and get the WSDL of your service. You should got something like this: <?xml version="1.0" encoding="utf-8" ? - <wsdl:definitions name="Service_WCF" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"...
1
4186
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 calling wsdl file. eg: file = 'RhapsodyDirectSearch.wsdl'
0
9879
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11349
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10541
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9727
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8099
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7250
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5939
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4776
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 we have to send another system
2
4337
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.