Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

RE: Compiling and runtime errors WSDL2C: msg#00166

apache.webservices.axis-c.user

Subject: RE: Compiling and runtime errors WSDL2C

Attached is the schema.  Thanks for your help.


From: Dimuthu Gamage [mailto:dimuthuc-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx]
Sent: Thursday, September 20, 2007 12:34 AM
To: Apache AXIS C User List
Subject: Re: Compiling and runtime errors WSDL2C

Hi David,
This should be most probably due to an unsupported schema by wsdl2c templates.
We dont have access to the schema at http://shag.mitre.org:28080/SoaCenter/SoaSimRegistry?xsd=1 which is imported by the wsdl.

So please send us the schema, so we can exactly figure out the problem.

Thanks,
Dimuthu


On 9/19/07, Callner, David A. <dcallner-AZamIotjMK3YtjvyW6yDsg@xxxxxxxxxxxxxxxx> wrote:
NOTE: I am creating a client wsdl2c -uri SoaSimRegistry.wsdl -d adb -u
-l c

Axis2-1.3/Java and axis2c-bin-1.0.0-linux/C

I'm getting the following compile time errors.  After running the
WSDL2C I get compile time errors of first_node = parent.  first_node is
not defined in the function.   This is for all requests that do not
have data in the response (void), and it happens in the deserialize
generetaed routines.  Ok so I fixed those compile errors by commenting
out the lines first_node = parent.  Now I'm getting runtime errors with
the requests.  Keep in mind that I am able to run the wsdl2java.sh code
and everything works good so I know that the problem lies in the wsdl2c
generated code.

I'm sure the last lines output will tell you where in the generated
code the error is happening.  I'm assuming that most generated code is
very similar.  Let me know if you need further information.

The log is below and the WSDL is attached:


[Wed Sep 19 11:24:18 2007] [debug] phase.c(113) axis2_handler_t
*request_uri_based_dispatcher added to the index 0 of the phase
Transport
[Wed Sep 19 11:24:18 2007] [debug] phase.c(113) axis2_handler_t
*soap_message_body_based_dispatcher added to the index 0 of the phase
Dispatch
[Wed Sep 19 11:24:18 2007] [debug] phase.c(113) axis2_handler_t
*addressing_based_dispatcher added to the index 1 of the phase Dispatch
[Wed Sep 19 11:24:18 2007] [debug] phase.c(113) axis2_handler_t
*soap_action_based_dispatcher added to the index 2 of the phase
Dispatch
[Wed Sep 19 11:24:18 2007] [debug] phase.c(113) axis2_handler_t
*dispatch_post_conditions_evaluator added to the index 0 of the phase
PostDispatch
[Wed Sep 19 11:24:18 2007] [debug] phase.c(113) axis2_handler_t
*context_handler added to the index 1 of the phase PostDispatch
[Wed Sep 19 11:24:18 2007] [debug] conf_builder.c(220) no custom
dispatching order found continue with default dispatching order
[Wed Sep 19 11:24:18 2007] [debug] conf_builder.c(326) module
addressing found in axis2.xml
[Wed Sep 19 11:24:18 2007] [debug] class_loader.c(135) Object loaded
successfully
[Wed Sep 19 11:24:18 2007] [debug] class_loader.c(135) Object loaded
successfully
[Wed Sep 19 11:24:18 2007] [debug] dir_handler.c(192) No files in the
path /home/dcallner/axis2c-bin-1.0.0-linux/services.
[Wed Sep 19 11:24:18 2007] [debug] dep_engine.c(1042)
axis2_dep_engine_load_module_dll: DLL path is :
/home/dcallner/axis2c-bin-1.0.0-linux/modules/addressing/libaxis2_mod_a
ddr.so
[Wed Sep 19 11:24:18 2007] [debug] class_loader.c(135) Object loaded
successfully
[Wed Sep 19 11:24:18 2007] [debug] dep_engine.c(1042)
axis2_dep_engine_load_module_dll: DLL path is :
/home/dcallner/axis2c-bin-1.0.0-linux/modules/logging/libaxis2_mod_log.
so
[Wed Sep 19 11:24:18 2007] [debug] class_loader.c(135) Object loaded
successfully
[Wed Sep 19 11:24:18 2007] [debug] phase_holder.c(129) Add handler
AddressingInHandler to phase PreDispatch
[Wed Sep 19 11:24:18 2007] [debug] phase_resolver.c(117) Service name
is : __ANONYMOUS_SERVICE__
[Wed Sep 19 11:24:18 2007] [debug] phase_resolver.c(231) module name
is:addressing
[Wed Sep 19 11:24:18 2007] [debug] phase_resolver.c(324) This handler
is                        trying to added to system pre defined phases
, but those                        handlers are already added to global
chain which run                        irrespective of the service
[Wed Sep 19 11:24:18 2007] [debug] phase_resolver.c(231) module name
is:addressing
[Wed Sep 19 11:24:18 2007] [debug] phase_holder.c(129) Add handler
AddressingOutHandler to phase MessageOut
[Wed Sep 19 11:24:18 2007] [debug] phase_resolver.c(231) module name
is:addressing
[Wed Sep 19 11:24:18 2007] [debug] phase_resolver.c(231) module name
is:addressing
[Wed Sep 19 11:24:18 2007] [debug] phase_holder.c(129) Add handler
AddressingOutHandler to phase MessageOut
[Wed Sep 19 11:24:18 2007] [debug] phase_resolver.c(231) module name
is:addressing
[Wed Sep 19 11:24:18 2007] [debug] phase_resolver.c(324) This handler
is                        trying to added to system pre defined phases
, but those                        handlers are already added to global
chain which run                        irrespective of the service
[Wed Sep 19 11:24:18 2007] [debug] phase_resolver.c(231) module name
is:addressing
[Wed Sep 19 11:24:18 2007] [debug] phase_holder.c(129) Add handler
AddressingOutHandler to phase MessageOut
[Wed Sep 19 11:24:18 2007] [debug] phase_resolver.c(231) module name
is:addressing
[Wed Sep 19 11:24:18 2007] [debug] phase_resolver.c(231) module name
is:addressing
[Wed Sep 19 11:24:18 2007] [debug] phase_holder.c(129) Add handler
AddressingOutHandler to phase MessageOut
[Wed Sep 19 11:24:18 2007] [debug] phase_resolver.c(231) module name
is:addressing
[Wed Sep 19 11:24:18 2007] [debug] phase_resolver.c(324) This handler
is                        trying to added to system pre defined phases
, but those                        handlers are already added to global
chain which run                        irrespective of the service
[Wed Sep 19 11:24:18 2007] [debug] phase_resolver.c(231) module name
is:addressing
[Wed Sep 19 11:24:18 2007] [debug] phase_holder.c(129) Add handler
AddressingOutHandler to phase MessageOut
[Wed Sep 19 11:24:18 2007] [debug] phase_resolver.c(231) module name
is:addressing
[Wed Sep 19 11:24:18 2007] [debug] phase_resolver.c(231) module name
is:addressing
[Wed Sep 19 11:24:18 2007] [debug] phase_holder.c(129) Add handler
AddressingOutHandler to phase MessageOut
[Wed Sep 19 11:24:18 2007] [debug] http_transport_sender.c(566) OP name
axutil_qname_get_localpart = http://www.w3.org/2004/08/wsdl/out-in
[Wed Sep 19 11:24:18 2007] [debug] soap_builder.c(737) Identified soap
version is soap11
[Wed Sep 19 11:24:18 2007] [debug] engine.c(179) Axis2 engine send
successful
[Wed Sep 19 11:24:18 2007] [debug] engine.c(571) Invoking phase
Transport
[Wed Sep 19 11:24:18 2007] [debug] phase.c(195) Invoke the handler
request_uri_based_dispatcher within the phase Transport
[Wed Sep 19 11:24:18 2007] [debug] engine.c(571) Invoking phase
PreDispatch
[Wed Sep 19 11:24:18 2007] [debug] phase.c(195) Invoke the handler
AddressingInHandler within the phase PreDispatch
[Wed Sep 19 11:24:18 2007] [info]  Starting addressing in handler
.........
[Wed Sep 19 11:24:18 2007] [debug] engine.c(571) Invoking phase
Dispatch
[Wed Sep 19 11:24:18 2007] [debug] phase.c(195) Invoke the handler
soap_message_body_based_dispatcher within the phase Dispatch
[Wed Sep 19 11:24:18 2007] [debug] soap_body_disp.c(126) Checking for
service                                                      using SOAP
message body's
first child's namespace
URI : http://soa_registry_svc.caasd.mitre.org/
[Wed Sep 19 11:24:18 2007] [debug] phase.c(195) Invoke the handler
addressing_based_dispatcher within the phase Dispatch
[Wed Sep 19 11:24:18 2007] [debug] phase.c(195) Invoke the handler
soap_action_based_dispatcher within the phase Dispatch
[Wed Sep 19 11:24:18 2007] [debug] soap_action_disp.c(88) Checking for
service using SOAPAction is not implemented
[Wed Sep 19 11:24:18 2007] [debug] engine.c (571) Invoking phase
PostDispatch
[Wed Sep 19 11:24:18 2007] [debug] phase.c(195) Invoke the handler
dispatch_post_conditions_evaluator within the phase PostDispatch
[Wed Sep 19 11:24:18 2007] [debug] phase.c(195) Invoke the handler
context_handler within the phase PostDispatch
[Wed Sep 19 11:24:18 2007] [debug] engine.c(292) Axis2 engine receive
completed!
[Wed Sep 19 11:24:18 2007] [error]
adb_lookupSimulationsResponse3.c(212) non nillable or minOuccrs != 0
element lookupSimulationsResponse missing 2 :: NULL paramater was
passed when a non NULL parameter was expected

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe-28n8OjmUYWfNLxjTenLetw@xxxxxxxxxxxxxxxx
For additional commands, e-mail: axis-c-user-help-28n8OjmUYWezQB+pC5nmwQ@xxxxxxxxxxxxxxxxxxxx


Attachment: SoaSimRegistry.xsd
Description: SoaSimRegistry.xsd

---------------------------------------------------------------------
To unsubscribe, e-mail:
axis-c-user-unsubscribe-28n8OjmUYWfNLxjTenLetw@xxxxxxxxxxxxxxxx
For additional commands, e-mail:
axis-c-user-help-28n8OjmUYWfNLxjTenLetw@xxxxxxxxxxxxxxxx
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
hardware.arm.at...    cms.citadel.dev...    video.gstreamer...    java.facelets.u...    misc.basics.qna...    web.wiki.instik...    network.uip.use...    xdg.devel/2003-...    tex.bibtex.bibd...    finance.quotesp...    ietf.zeroconf/2...    redhat.blinux.g...    suse.db2/2003-0...    php.phpesp/2004...    uml.devel/2003-...    gnome.labyrinth...    qnx.openqnx.dev...    boot-loaders.gr...    db.dataperfect....    audio.audacity....    linux.uclinux.m...    editors.j.devel...    os.openbsd.tech...    kde.users.multi...   
Home | 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

Navigation