Thanks
Dan.
So I
ran my wsdl using VisutalStudio's WSDL tool and it gives me the following
error:
Error:
Unable to import binding 'ossSoapBinding' from namespace
'http://www.oss.org/oss'.
- Unable to import operation 'echoTransaction'.
- Object reference not set to an instance of an object.
- Unable to import operation 'echoTransaction'.
- Object reference not set to an instance of an object.
Here
are the relavant portions of my WSDL generated by Java2WSDL. By any chance can
you spot the problem?
<wsdl:message
name="echoTransactionRequest">
<wsdl:part name="transaction"
type="tns1:Transaction"/>
</wsdl:message>
<wsdl:message
name="echoTransactionResponse">
<wsdl:part name="return"
type="tns1:Transaction"/>
</wsdl:message>
<wsdl:operation name="echoTransaction" parameterOrder="transaction">
<wsdl:input
message="intf:echoTransactionRequest"
name="echoTransactionRequest"/>
<wsdl:output
message="intf:echoTransactionResponse"
name="echoTransactionResponse"/>
</wsdl:operation>
</wsdl:operation>
<wsdl:operation
name="echoTransaction">
<wsdlsoap:operation
soapAction=""/>
<wsdl:input
name="echoTransactionRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://www.oss.org/oss"
use="encoded"/>
</wsdl:input>
<wsdl:output
name="echoTransactionResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://www.oss.org/oss"
use="encoded"/>
</wsdl:output>
</wsdl:operation>
Thanks
Naresh
-----Original Message-----
From: Dan Stone [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 12, 2002 5:33 PM
To: '[EMAIL PROTECTED]'
Subject: RE: .NET does not take WSDL generated by AxisYou may want to try using the WSDL tool (wsdl.exe in Microsoft.NET\FrameworkSDK\Bin)outside of VisualStudio and then add the created resources to your project if this is successful.type the command only for a list of options.Dan-----Original Message-----
From: Naresh Bhatia [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 12, 2002 1:09 PM
To: '[EMAIL PROTECTED]'
Subject: .NET does not take WSDL generated by AxisI am trying to load a WSDL generated by Axis (Java2WSDL) into Visual Studio .NET. Visual Studio loads it without any complains. A web reference is created for the service but the associated classes are not created. Any idea where I could look for the problem?
Thanks.
Naresh Bhatia
