jzhone / wsdl2objc

Automatically exported from code.google.com/p/wsdl2objc
MIT License
0 stars 0 forks source link

Error 500 from HelloWorld WebService #67

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
i have generated the classes from the following webservice in my test
application "http://viium.com/WebService/HelloWorld.asmx?WSDL"
2.
i have written this very simple code in against a button Action
HelloWorldSoap *binding = [HelloWorld HelloWorldSoap];
binding.logXMLInOut = YES;
HelloWorld_Hello *myRequest = [[HelloWorld_Hello new] autorelease];
myRequest.name = @"Ajmal";
[binding HelloUsingParameters:myRequest];
3.
and its failed with following logs
2010-01-25 19:51:51.557 TestHelloWorldWSDL[2928:207] OutputHeaders:
{
    "Content-Length" = 418;
    "Content-Type" = "application/soap+xml; charset=utf-8";
    Host = "viium.com";
    Soapaction = "http://viium.com/Hello";
    "User-Agent" = wsdl2objc;
}
2010-01-25 19:51:51.558 TestHelloWorldWSDL[2928:207] OutputBody:
<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:HelloWorld="http://viium.com/" xsl:version="1.0">
  <soap:Body>
    <Hello xsi:type="HelloWorld:Hello">
      <name>Ajmal</name>
    </Hello>
  </soap:Body>
</soap:Envelope>
2010-01-25 19:52:22.944 TestHelloWorldWSDL[2928:207] ResponseStatus: 500
2010-01-25 19:52:22.945 TestHelloWorldWSDL[2928:207] ResponseHeaders:
{
    "Cache-Control" = private;
    "Content-Length" = 1100;
    "Content-Type" = "application/soap+xml; charset=utf-8";
    Date = "Mon, 25 Jan 2010 14:51:34 GMT";
    Microsoftofficewebserver = "5.0_Pub";
    Server = "Microsoft-IIS/6.0";
    "X-Aspnet-Version" = "2.0.50727";
    "X-Powered-By" = "ASP.NET, PleskWin";
}
2010-01-25 19:52:22.958 TestHelloWorldWSDL[2928:207] ResponseBody:
<?xml version="1.0" encoding="utf-8"?><soap:Envelope
xmlns:soap="http://www.w3.org/2003/05/soap-envelope"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><soap:Fault><soap:Code><
soap:Value>soap:Sender</soap:Value></soap:Code><soap:Reason><soap:Text
xml:lang="en">System.Web.Services.Protocols.SoapException: Unable to handle
request without a valid action parameter. Please supply a valid soap action.
   at System.Web.Services.Protocols.Soap12ServerProtocolHelper.RouteRequest()
   at
System.Web.Services.Protocols.SoapServerProtocol.RouteRequest(SoapServerMessage
message)
   at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
   at System.Web.Services.Protocols.ServerProtocol.SetContext(Type type,
HttpContext context, HttpRequest request, HttpResponse response)
   at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type,
HttpContext context, HttpRequest request, HttpResponse response,
Boolean&amp; abortProcessing)</soap:Text></soap:Reason><soap:Detail
/></soap:Fault></soap:Body></soap:Envelope>

What is the expected output?

What do you see instead?

What version of the product are you using? On what operating system?
WSDL2ObjC-0.6

Please provide any additional information below.

Original issue reported on code.google.com by jinn.aj...@msn.com on 25 Jan 2010 at 3:03

GoogleCodeExporter commented 9 years ago
This is fixed with the patch provided in the Issue # 47

Original comment by cho...@gmail.com on 29 Mar 2010 at 7:10

GoogleCodeExporter commented 9 years ago
This part of the code was superseded by a later patch. Please check if error is 
still there in 0.7-pre1

Original comment by hasse...@gmail.com on 1 Jun 2010 at 2:21