logo       

RE: Stub generation of a .net Service: msg#00874

Subject: RE: Stub generation of a .net Service
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@xxxxxxxxxx] 
Sent: Thursday, October 31, 2002 11:54 AM
To: axis-user@xxxxxxxxxxxxxx; 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@xxxxxxxxxxxxxx]
Sent: Wednesday, October 30, 2002 11:48 PM
To: axis-user@xxxxxxxxxxxxxx
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



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe