logo       

RE: [wsif] sample err: Cannot get Object part 'Result': msg#00149

Subject: RE: [wsif] sample err: Cannot get Object part 'Result'
I have not tried this yet, but we have an authenticating proxy.  Are there 
properties for userid and psw which are requiered in my environment.

thanks,
 chris

-----Original Message-----
From: Anthony Elder [mailto:ant.elder@xxxxxxxxxx]
Sent: Tuesday, January 07, 2003 3:50 PM
To: axis-user@xxxxxxxxxxxxxx
Subject: RE: [wsif] sample err: Cannot get Object part 'Result'



If you access the Internet via a proxy server you'll need to set the
appropriate system properties. For example:

java -Dhttp.proxyHost=proxy.somewhere.com -Dhttp.proxyPort=80
-Dhttp.nonProxyHosts="localhost" clients.DynamicInvoker
http://services.xmethods.net/soap/urn:xmethods-delayed-quotes.wsdl getQuote
IBM

If thats not the problem you could try running with trace on and post the
trace log to this list. For how to use WSIF trace see:
http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-axis-wsif/java/doc/trace.htm



       ...ant

Anthony Elder
ant.elder@xxxxxxxxxx
Web Services Development
IBM UK Laboratories,  Hursley Park
(+44) 01962 818320, x248320, MP208.


"Peake, Chris" <Chris.Peake@xxxxxx> on 07/01/2003 21:35:46

Please respond to axis-user@xxxxxxxxxxxxxx

To:    <axis-user@xxxxxxxxxxxxxx>
cc:
Subject:    RE: [wsif] sample err: Cannot get Object part 'Result'




I am  using the classpath.bat as suggested.
Which  should be using the *.jars in in xerces2 dir I think,  right?

--
G:\wsif-2.0rc1>classpath
build\lib\wsif.jar;build\lib\wsif-j2c.jar;build\classes;build\samples;build\test
s;lib\soaprmi11\soaprmi11.jar;lib\saaj\saaj_1_1.jar;lib\jaxrpc\jaxrpc_1_1.jar;li
b\commons_logging\commons-logging.jar;lib\commons_discovery\commons-discovery.ja
r;lib\axis\servlet22.jar;lib\axis\axis_1_0.jar;lib\axis\axis_1_0-ant.jar;lib\apa
che_soap\apache_soap_2_3_1.jar;lib\jms_api\jms_1_1.jar;lib\xerces2\xmlParserAPIs
_2_2_1.jar;lib\xerces2\xercesImpl_2_2_1.jar;lib\log4j\log4j-1.2.4.jar;lib\wsdl4j
\wsdl4j-20021124.jar;lib\wsdl4j\qname-from-wsdl4j-20021124.jar;lib\junit\junit-3
.8.1.jar;

As a  test, I movided the bat and placed my normal xerces 1.4.4 version
ahead of  this parser, but with the same results.

This  is not a priority for me.  I just wanted to try it out.
But if  you can think of something, I'll try it.

Maybe  turning on logging?
How?

thanks,
 chris
-----Original Message-----
From: Nirmal Mukhi  [mailto:nmukhi@xxxxxxxxxx]
Sent: Tuesday, January 07, 2003 3:09  PM
To: axis-user@xxxxxxxxxxxxxx
Subject: RE: [wsif] sample  err: Cannot get Object part 'Result'



Hello Chris,

That is unlikely - the service WSDL in this case has a SOAP binding  that
uses HTTP as the transport, so firewalls probbaly aren't the problem. I'm
now thinking it might be an XML parsing issue. What parser do you use?
Also,  did you set up the classpath using the classpath script provided
with WSIF?  That way you won't pick up unnecessary JAR files that might be
in your local  classpath that might interfere...

Nirmal.


                                                                          
        "Peake, Chris"                                                    
        <Chris.Peake@xxxxx                    To:                         
        m>                            <axis-user@xxxxxxxxxxxxxx>          
                                              cc:                         
        01/07/2003 03:26                       Subject:        RE: [wsif] 
        PM                            sample err:  Cannot get Object part 
        Please respond to             'Result'                            
        axis-user                                                         
                                                                          
                                                                          




I tried it again but with same results.
Could it be a firewall situation on my  side?

chris
-----Original  Message-----
From: Nirmal Mukhi  [mailto:nmukhi@xxxxxxxxxx]
Sent: Tuesday, January 07, 2003 1:07  PM
To: axis-user@xxxxxxxxxxxxxx
Subject: Re: [wsif] sample  err: Cannot get Object part 'Result'


Hello Chris,

I just ran the sample using the exact command line arguments you  provided
and it worked ok. Could you try it again (the remote service hosted  on
XMethods might have been down)? If it still fails, let us know what
build/version of WSIF you are using.

Thanks,
Nirmal.

                                                                           
           "Peake, Chris"                                                  
           <Chris.Peake@xxxxxx>                   To:                      
                                           <axis-user@xxxxxxxxxxxxxx>      
           01/07/2003 11:09 AM                     cc:                     
           Please respond to                      Subject:         [wsif]  
           axis-user                       sample err: Cannot get Object   
                                           part  'Result'                  
                                                                           





Trying to get familiar with WSIF.
I just tried to do run the simplesoap  example and I get the following
error.
Cannot get Object part 'Result'

As the attached shows, classpath seems to be  correct.
Didn't find  this in history email.
Any ideas?
thanks.

G:\wsif-2.0rc1>java clients.DynamicInvoker
samples/simplesoap/StockquoteSOAP.wsd
l getQuote CA
Reading WSDL document from  'samples/simplesoap/StockquoteSOAP.wsdl'
Preparing WSIF dynamic invocation
- WSIF0006W: Multiple WSIFProvider found  supporting the same namespace URI
'http
://schemas.xmlsoap.org/wsdl/soap/'. Found
('org.apache.wsif.providers.soap.apach
eaxis.WSIFDynamicProvider_ApacheAxis,
org.apache.wsif.providers.soap.apachesoap.
WSIFDynamicProvider_ApacheSOAP')
- WSIF0007I: Using WSIFProvider
'org.apache.wsif.providers.soap.apacheaxis.WSIFD
ynamicProvider_ApacheAxis' for namespaceURI
http://schemas.xmlsoap.org/wsdl/soa
p/'
Executing operation getQuote
Exception in thread "main"  org.apache.wsif.WSIFException: Cannot get
Object part
'Result'. No parts are set on the  message
       at
org.apache.wsif.base.WSIFDefaultMessage.handleNoPartsException(Unknow
n Source)
      at  org.apache.wsif.base.WSIFDefaultMessage.getObjectPart(Unknown
Source)

        at  clients.DynamicInvoker.invokeMethod(Unknown Source)

thanks,
chris









<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