You can turn off the other bindings in .Net:

Web.config:

<protocols>
       <remove name="HttpPost"/> 
       <remove name="HttpGet"/> 
</protocols>

-----Original Message-----
From: Jianliang Zhao [mailto:jzhao@;zaplet.com] 
Sent: Thursday, October 31, 2002 11:54 AM
To: [EMAIL PROTECTED]; suresh narsimhan
Subject: RE: Stub generation of a .net Service

I guess Axis only handles SOAP binding, but the WSDL contains HTTP binding,
too. You can save the WSDL into a file, remove the HTTP binding, and
generate client from the file.

-----Original Message-----
From: suresh narsimhan [mailto:sureshnarsimhan@;rediffmail.com]
Sent: Wednesday, October 30, 2002 11:48 PM
To: [EMAIL PROTECTED]
Subject: Stub generation of a .net Service


hi all,
        Iam trying to bind with a .net service at

http://www.framewerks.com/WebServices/fWArticleService/fwArticles.asmx?WSDL

the wsdl2java utility throws up the following error.

java.io.IOException: Error: Message part Body of operation or 
fault GetArticles
has no element or type attribute.
         at 
org.apache.axis.wsdl.symbolTable.SymbolTable.getParametersFromParts(S
ymbolTable.java:1322)
         at 
org.apache.axis.wsdl.symbolTable.SymbolTable.getOperationParameters(S
ymbolTable.java:1053)
         at 
org.apache.axis.wsdl.symbolTable.SymbolTable.populateParameters(Symbo
lTable.java:987)
         at 
org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:385
)
         at 
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav
a:371)
         at 
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav
a:358)
         at 
org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:243)
 

The part does not contain a element or a type tag but iam able to 
call the same service with a .net client.How do i make this work 
with axis.


suresh

Reply via email to