BusinessObjects Board

cannot browse external metadata for adapter instance

Dear experts,

I am trying to invoke a web service through Data Services. The version of Data Services is 12.2.3.0.

The wsdl file works fine in SOAPUI.

We created two datastores.

  1. Datastore type: Web Service. The wsdl file, username and password are all correct. Keystore path is left empty. From this datastore, we could import functions. Then we built a batch job and called the function imported from this datastore. The problem is that we have the below error after the job is completed successfully.

ERROR1

There is no response for the web service <getRespondents>. Ensure that the network, the web service and the service are running. 

Then after reading a post http://scn.sap.com/thread/1826365 , saying the HTTPS doesn’t work well with web service datastore, and use a properly specified keystore path and an adapter datastore, the problem can be resolved.

  1. Then second datastore is created as an adapter datastore.
    Datastore type: adapter.
    Adapter instance name is WebService. - It is the default adapter instance by default.
    URL of Web Service is the same wsdl link
    keystore path is the path on the server where the keystore.jks is created. I built the .csr file and imported a signed certificate of the server where the wsdl is hosted into the keystore.jks.

The adapter setup validates. Then when I try to open the datastore, it gives me this error:

ERROR2

Cannot browse external metadata for adapter instance <WebService> at <ourdomainname:port number>
Error message: Error browsing root nodes. Xml generated so far:[]. com.acta.adapter.sdk.AdapterException: Unable to parse WSDL from Web Service. Error: WSDLException: faultCode=OTHER_ERROR: Unable to resolve imported document at 'https://......wsdl link'.:sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at com.acta.adapter.webservice.adapter.WebServiceBrowse.getRootNodes(WebServiceBrowse.java:105).....

I read the post http://scn.sap.com/thread/1589052 and changed the WebServices adapter instance metadata character set to UTF-8 to suit for the wsdl.

Yesterday the above error disappeared and I got a different error when I try to import the functions for this adapter datastore. I could see the list of functions yesterday.

This is the error I got when trying to import the function.

ERROR3

Adapter metadata import failed. Error message: (BODI-1112015) Error parsing the <TheFunctionToBeImported> included in the XML sent by the adapter to represet a function <Error importing XML Schema from file <adapter_schema_in.xsd>:<XML parser failed: Error <Schema Representation Constraint: Namespace 'http://result.form.v81.api.keysurvey.com' is referenced without <import> declaration> at line <13>, char <46> in < < xsd:schema xmln:xsd=http://www.w3.org/2001/XMLSchema" xmln:tns="http://result.form.v81.api.keystore.com" xmlns:diws="http://businessobjects.com/diwebservice" targetnamespace="http://www.businessobjects.com/diwebservice"><xsd:import namespace='http://v81.api.keysurvey.com' schemaLocation='C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice\FormResultManagemenetgetRespondentsgetRespondents0.xsd'/>
<xsd: import namespace='http://result.form.v81.api.keysurvey.com' schemaLocation='C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice\FormResultManagemenetgetRespondentsgetRespondents2.xsd'/> ........

And today for some reason, it come back to the ERROR 2 again.

Is there anyone who can help me on this? Run out of resources and don’t think I could dig more from google and BOB.

THANK YOU!

Amy


AmyQ (BOB member since 2012-07-10)

A note for
ERROR2

The end of the error is: 
Possible reasons: 
1. Cannot start adapter instance 
2. Job Server is not started 
3. Adapter datastore is not adjusted after import
4. Adapter was shut down but not restarted yet. (BODI-1112326)

Out of the 4 reasons,

  1. adapters are having ‘started’ status,
  2. other jobs could run from the job server.
  3. what does it mean?
  4. Adapter is started.

AmyQ (BOB member since 2012-07-10)

use webservice Datastore follow instructions from the following post to setup webservice datastore for SSL Enabled WS


manoj_d (BOB member since 2009-01-02)

Thanks that helps a lot.
But it still doesn’t work - has the same error

There is no response for the web service <getRespondents>. Ensure that the network, the webserver, and the service are running. 

I have changed the axis2 xml file as instructions, and put the directory below into the Axis2/c config file path

C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev

I haven’t put anything into the Keystore path.
I wonder if this is to do with the certificate. Where shall I save the certificate? and where shall I point the datastore to look at it?

Or there is something else in there… could you please shed more light on it? Thanks!

Amy


AmyQ (BOB member since 2012-07-10)

Sorry, I have got this line modified as below

C:/oracle/product/1.2.0/client_1/jdk/jre/bin

This is where I have put the exported certificate from the server hosting the wsdl.

still it doesn’t work. same error.
could you please point me on where I am wrong? or what I have missed?

Thank you so much!


AmyQ (BOB member since 2012-07-10)

Thank you very much!

I am still stuck with the same ERROR1. as above.

Saw this post, don’t know if this helps. Is there anything from the post I shall do? As except the step to config the axis.xml file, I haven’t done anything.

could you please help me where I have missed? Many thanks!


AmyQ (BOB member since 2012-07-10)

I think you are not setting the SERVER_CERT parameter correctly, this is folder location you will have to get the server certificate in base-64 encoded format and specify the certificate file along with complete path

if you don’t have the server certificate in base-64 encoded format use the method that I described in the post to get the certificate

C:/oracle/product/1.2.0/client_1/jdk/jre/bin

the error you are getting is generic, please run the job from command line with additional -D -np argument and look for the error at the end of %LINK_DIR%\log\axis2_log.txt file


manoj_d (BOB member since 2009-01-02)

Hi Manoj_d,

Thank you so much for your follow up!
I have changed the SERVER_CERT as below

<parameter name="SERVER_CERT">C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev\keysurveydev.crt</parameter>

The keysurveydev.crt is exported from firefox as type X.509 Certificate with chain (PEM). webservice-keysurveydev is a copy of folder webservice-c.

The log file of axis2_log is as below

[Tue Jun 10 10:47:21 2014] [debug] …\src\core\engine\phase.c(121) axis2_handler_t *request_uri_based_dispatcher added to the index 0 of the phase Transport
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\engine\phase.c(121) axis2_handler_t *addressing_based_dispatcher added to the index 1 of the phase Transport
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\engine\phase.c(121) axis2_handler_t *rest_dispatcher added to the index 0 of the phase Dispatch
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\engine\phase.c(121) axis2_handler_t *soap_message_body_based_dispatcher added to the index 1 of the phase Dispatch
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\engine\phase.c(121) axis2_handler_t *soap_action_based_dispatcher added to the index 2 of the phase Dispatch
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\engine\phase.c(121) axis2_handler_t *dispatch_post_conditions_evaluator added to the index 0 of the phase PostDispatch
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\engine\phase.c(121) axis2_handler_t *context_handler added to the index 1 of the phase PostDispatch
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\deployment\conf_builder.c(233) No custom dispatching order found. Continue with the default dispatching order
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\deployment\conf_builder.c(378) Module addressing found in axis2.xml
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\deployment\conf_builder.c(378) Module rampart found in axis2.xml
[Tue Jun 10 10:47:21 2014] [debug] …\util\src\class_loader.c(140) C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/lib/axis2_http_sender.dll shared lib loaded successfully
[Tue Jun 10 10:47:21 2014] [debug] …\util\src\class_loader.c(140) C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/lib/axis2_http_sender.dll shared lib loaded successfully
[Tue Jun 10 10:47:21 2014] [debug] …\util\src\class_loader.c(140) C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/lib/axis2_http_receiver.dll shared lib loaded successfully
[Tue Jun 10 10:47:21 2014] [debug] …\util\src\class_loader.c(140) C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/lib/axis2_http_receiver.dll shared lib loaded successfully
[Tue Jun 10 10:47:21 2014] [info] No files in the path C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/services.
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\deployment\dep_engine.c(1283) axis2_dep_engine_load_module_dll: DLL path is : C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/modules/addressing/axis2_mod_addr.dll
[Tue Jun 10 10:47:21 2014] [debug] …\util\src\class_loader.c(140) C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/modules/addressing/axis2_mod_addr.dll shared lib loaded successfully
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\deployment\dep_engine.c(1283) axis2_dep_engine_load_module_dll: DLL path is : C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/modules/logging/axis2_mod_log.dll
[Tue Jun 10 10:47:21 2014] [debug] …\util\src\class_loader.c(140) C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/modules/logging/axis2_mod_log.dll shared lib loaded successfully
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\deployment\dep_engine.c(1283) axis2_dep_engine_load_module_dll: DLL path is : C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/modules/rampart/mod_rampart.dll
[Tue Jun 10 10:47:21 2014] [debug] …\util\src\class_loader.c(140) C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/modules/rampart/mod_rampart.dll shared lib loaded successfully
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler AddressingInHandler to phase Transport
[Tue Jun 10 10:47:21 2014] [info] [rampart][rampart_mod] rampart_mod initialized
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(139) Service name is : ANONYMOUS_SERVICE
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:addressing
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(2058) Trying to add this handler AddressingInHandler to system pre defined phases , but those handlers are already added to global chain which run irrespective of the service
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:rampart
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler RampartInHandler to phase Security
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:addressing
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:rampart
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler AddressingOutHandler to phase MessageOut
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler RampartOutHandler to phase Security
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:addressing
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:rampart
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:addressing
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:rampart
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler AddressingOutHandler to phase MessageOut
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler RampartOutHandler to phase MessageOut
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:addressing
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(2058) Trying to add this handler AddressingInHandler to system pre defined phases , but those handlers are already added to global chain which run irrespective of the service
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:rampart
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler RampartInHandler to phase Security
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:addressing
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:rampart
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler AddressingOutHandler to phase MessageOut
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler RampartOutHandler to phase Security
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:addressing
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:rampart
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:addressing
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:rampart
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler AddressingOutHandler to phase MessageOut
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler RampartOutHandler to phase MessageOut
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:addressing
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(2058) Trying to add this handler AddressingInHandler to system pre defined phases , but those handlers are already added to global chain which run irrespective of the service
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:rampart
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler RampartInHandler to phase Security
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:addressing
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:rampart
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler AddressingOutHandler to phase MessageOut
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler RampartOutHandler to phase Security
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:addressing
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:rampart
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:addressing
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:rampart
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler AddressingOutHandler to phase MessageOut
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler RampartOutHandler to phase MessageOut
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\clientapi\op_client.c(888) Start:axis2_op_client_infer_transport
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\clientapi\op_client.c(954) End:axis2_op_client_infer_transport
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\engine\phase.c(210) Invoke the handler AddressingOutHandler within the phase MessageOut
[Tue Jun 10 10:47:21 2014] [info] Starting addressing out handler
[Tue Jun 10 10:47:21 2014] [debug] …\src\modules\mod_addr\addr_out_handler.c(133) No action present. Stop processing addressing
[Tue Jun 10 10:47:21 2014] [debug] …\src\core\engine\phase.c(210) Invoke the handler RampartOutHandler within the phase Security
[Tue Jun 10 10:47:21 2014] [debug] …\src\util\rampart_util.c(32) [rampart]Trying to load module AXIS2C_HOME/bin/samples/rampart/callback/libpwcb.so
[Tue Jun 10 10:47:21 2014] [error] …\util\src\class_loader.c(167) Loading shared library AXIS2C_HOME/bin/samples/rampart/callback/libpwcb.so Failed. DLERROR IS DLL Load Error 126: The specified module could not be found.
[Tue Jun 10 10:47:21 2014] [error] …\src\util\rampart_util.c(42) [rampart] Unable to load the module AXIS2C_HOME/bin/samples/rampart/callback/libpwcb.so.
[Tue Jun 10 10:47:21 2014] [error] …\src\util\rampart_util.c(214) [rampart]Unable to identify the callback module AXIS2C_HOME/bin/samples/rampart/callback/libpwcb.so.
[Tue Jun 10 10:47:21 2014] [error] …\src\util\rampart_engine.c(208) [rampart][rampart_engine] rampc policies creation failed.
[Tue Jun 10 10:47:21 2014] [error] …\src\handlers\rampart_out_handler.c(136) [rampart][rampart_out_handler] ramaprt_context creation failed.
[Tue Jun 10 10:47:21 2014] [error] …\src\core\engine\phase.c(233) Handler RampartOutHandler invoke failed within phase Security
[Tue Jun 10 10:47:21 2014] [error] …\src\core\engine\engine.c(696) Invoking phase Security failed
[Tue Jun 10 10:47:21 2014] [info] [rampart][rampart_mod] rampart_mod shutdown

From the log, there are two questions:

  1. why the CERVER_CERT path is changed to C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/services

  2. The errors in the bottom indicates missing module libpwcd.so. Is it an issue related to DS version?

In the last, my datastore is setup as below, for reference.
Many many thanks!!
Untitled.jpg


AmyQ (BOB member since 2012-07-10)

This is a follow up to previous reply.

I read from the below post http://axis.apache.org/axis2/c/rampart/docs/configurations.html that I have to engage the rampart in the axis2.xml to uncomment

!-- Uncomment this to enable WS-Security -->
    <module ref="rampart"/>
    <!--module ref="rampart"/-->

into

!-- Uncomment this to enable WS-Security -->
    <module ref="rampart"/>
    <module ref="rampart"/>

Then I had the following log and different error:

Tue Jun 10 12:03:52 2014] [debug] …\src\core\engine\phase.c(121) axis2_handler_t *request_uri_based_dispatcher added to the index 0 of the phase Transport
[Tue Jun 10 12:03:52 2014] [debug] …\src\core\engine\phase.c(121) axis2_handler_t *addressing_based_dispatcher added to the index 1 of the phase Transport
[Tue Jun 10 12:03:52 2014] [debug] …\src\core\engine\phase.c(121) axis2_handler_t *rest_dispatcher added to the index 0 of the phase Dispatch
[Tue Jun 10 12:03:52 2014] [debug] …\src\core\engine\phase.c(121) axis2_handler_t *soap_message_body_based_dispatcher added to the index 1 of the phase Dispatch
[Tue Jun 10 12:03:52 2014] [debug] …\src\core\engine\phase.c(121) axis2_handler_t *soap_action_based_dispatcher added to the index 2 of the phase Dispatch
[Tue Jun 10 12:03:52 2014] [debug] …\src\core\engine\phase.c(121) axis2_handler_t *dispatch_post_conditions_evaluator added to the index 0 of the phase PostDispatch
[Tue Jun 10 12:03:52 2014] [debug] …\src\core\engine\phase.c(121) axis2_handler_t *context_handler added to the index 1 of the phase PostDispatch
[Tue Jun 10 12:03:52 2014] [debug] …\src\core\deployment\conf_builder.c(233) No custom dispatching order found. Continue with the default dispatching order
[Tue Jun 10 12:03:52 2014] [debug] …\src\core\deployment\conf_builder.c(378) Module addressing found in axis2.xml
[Tue Jun 10 12:03:52 2014] [debug] …\src\core\deployment\conf_builder.c(378) Module rampart found in axis2.xml
[Tue Jun 10 12:03:52 2014] [debug] …\src\core\deployment\conf_builder.c(378) Module rampart found in axis2.xml
[Tue Jun 10 12:03:52 2014] [debug] …\util\src\class_loader.c(140) C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/lib/axis2_http_sender.dll shared lib loaded successfully
[Tue Jun 10 12:03:52 2014] [debug] …\util\src\class_loader.c(140) C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/lib/axis2_http_sender.dll shared lib loaded successfully
[Tue Jun 10 12:03:52 2014] [debug] …\util\src\class_loader.c(140) C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/lib/axis2_http_receiver.dll shared lib loaded successfully
[Tue Jun 10 12:03:52 2014] [debug] …\util\src\class_loader.c(140) C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/lib/axis2_http_receiver.dll shared lib loaded successfully
[Tue Jun 10 12:03:52 2014] [info] No files in the path C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/services.
[Tue Jun 10 12:03:52 2014] [debug] …\src\core\deployment\dep_engine.c(1283) axis2_dep_engine_load_module_dll: DLL path is : C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/modules/addressing/axis2_mod_addr.dll
[Tue Jun 10 12:03:52 2014] [debug] …\util\src\class_loader.c(140) C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/modules/addressing/axis2_mod_addr.dll shared lib loaded successfully
[Tue Jun 10 12:03:52 2014] [debug] …\src\core\deployment\dep_engine.c(1283) axis2_dep_engine_load_module_dll: DLL path is : C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/modules/logging/axis2_mod_log.dll
[Tue Jun 10 12:03:52 2014] [debug] …\util\src\class_loader.c(140) C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/modules/logging/axis2_mod_log.dll shared lib loaded successfully
[Tue Jun 10 12:03:52 2014] [debug] …\src\core\deployment\dep_engine.c(1283) axis2_dep_engine_load_module_dll: DLL path is : C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/modules/rampart/mod_rampart.dll
[Tue Jun 10 12:03:52 2014] [debug] …\util\src\class_loader.c(140) C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/modules/rampart/mod_rampart.dll shared lib loaded successfully
[Tue Jun 10 12:03:52 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler AddressingInHandler to phase Transport
[Tue Jun 10 12:03:52 2014] [error] …\src\core\deployment\dep_engine.c(1057) Engaging module rampart to Axis2 Configuration failed
[Tue Jun 10 12:03:52 2014] [info] [rampart][rampart_mod] rampart_mod shutdown
[Tue Jun 10 12:03:52 2014] [error] …\src\core\deployment\dep_engine.c(978) Module engage failed for deployment engine
[Tue Jun 10 12:03:52 2014] [error] …\src\core\deployment\conf_init.c(195) Loading deployment engine failed for client repository C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev

I am not sure why there are two identical lines engaging the rampart. But if I only have one line there, it comes back to the first error …\util\src\class_loader.c(167) Loading shared library AXIS2C_HOME/bin/samples/rampart/callback/libpwcb.so Failed. DLERROR IS DLL Load Error 126: The specified module could not be found.


AmyQ (BOB member since 2012-07-10)

Hi Manoj_d,

Please ignore the previous two posts. I didn’t have the certificate right.

I compared my certificate file and axis2.xml with this post: http://scn.sap.com/thread/3190403 and made the following change.

  1. My certificate file should be saved as .cer not .crt
  2. I saved the certificate file under C:\Cofig folder instead
  3. I made the SERVER_CERT path as below instead
<parameter name="SERVER_CERT">C:\Config\keysurveydev.cer</parameter>

I now have the exact same error as Zahid Yener has.
Then when I run from command line I have this error below:

[Tue Jun 10 12:44:27 2014] [debug] …\src\core\engine\phase.c(121) axis2_handler_t *request_uri_based_dispatcher added to the index 0 of the phase Transport
[Tue Jun 10 12:44:27 2014] [debug] …\src\core\engine\phase.c(121) axis2_handler_t *addressing_based_dispatcher added to the index 1 of the phase Transport
[Tue Jun 10 12:44:27 2014] [debug] …\src\core\engine\phase.c(121) axis2_handler_t *rest_dispatcher added to the index 0 of the phase Dispatch
[Tue Jun 10 12:44:27 2014] [debug] …\src\core\engine\phase.c(121) axis2_handler_t *soap_message_body_based_dispatcher added to the index 1 of the phase Dispatch
[Tue Jun 10 12:44:27 2014] [debug] …\src\core\engine\phase.c(121) axis2_handler_t *soap_action_based_dispatcher added to the index 2 of the phase Dispatch
[Tue Jun 10 12:44:27 2014] [debug] …\src\core\engine\phase.c(121) axis2_handler_t *dispatch_post_conditions_evaluator added to the index 0 of the phase PostDispatch
[Tue Jun 10 12:44:27 2014] [debug] …\src\core\engine\phase.c(121) axis2_handler_t *context_handler added to the index 1 of the phase PostDispatch
[Tue Jun 10 12:44:27 2014] [debug] …\src\core\deployment\conf_builder.c(233) No custom dispatching order found. Continue with the default dispatching order
[Tue Jun 10 12:44:27 2014] [debug] …\src\core\deployment\conf_builder.c(378) Module addressing found in axis2.xml
[Tue Jun 10 12:44:27 2014] [debug] …\src\core\deployment\conf_builder.c(378) Module rampart found in axis2.xml
[Tue Jun 10 12:44:27 2014] [debug] …\src\core\deployment\conf_builder.c(378) Module rampart found in axis2.xml
[Tue Jun 10 12:44:27 2014] [error] …\src\core\deployment\conf_builder.c(876) Specifyingservices and modules directories using axis2.xml but path of the library directory is not present
[Tue Jun 10 12:44:27 2014] [error] …\src\core\deployment\conf_builder.c(261) Processing transport senders failed, unable to continue
[Tue Jun 10 12:44:27 2014] [error] …\src\core\deployment\dep_engine.c(939) Populating Axis2 Configuration failed
[Tue Jun 10 12:44:27 2014] [error] …\src\core\deployment\conf_init.c(195) Loading deployment engine failed for client repository C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev\axis2.xml

From this post http://scn.sap.com/thread/3190403 , the correct answer is the version is the problem. Would it be the same reason for my case? My version is 12.2.3.0.

Your help is very much appreciated!!

Regards,
Amy


AmyQ (BOB member since 2012-07-10)

why did you enable rampart ? do you need WS-Security ?
are you able to use this webService in SoapUI successfully ? if yes, what are parameters that you are setting in SoapUI based on that I can send you the steps that you need, enabling unnecessary parameters in axis2.xml is going to cause more issues

or if you can open a support case, it will be much easier for me to work on this


manoj_d (BOB member since 2009-01-02)

Hi Manoj,

Thank you so much!
I enabled rampart as the request is a HTTPS request. I am not sure if I should enable it though.

I am happy to open a case, could you please point me to where I should open the case? Many thanks!

It works fine in SoapUI. The setups of SoapUI is in the bottom. If there is any other information that I’d provide, I am happy to do so.

By the way, I have started to look into invoke WS from Oracle 11g R2. The UTL_HTTP package seems could do the work but I still have many errors to overcome. Whichever way comes first would do, DS or Oracle.

Thanks again!
Amy
SoapUI.jpg


AmyQ (BOB member since 2012-07-10)

to open a support case go to http://service.sap.com/support, you will need a S# to open a support case

there is no need to go the Database route for such a simple thing

try this

unzip and copy the attached axis2.xml file to
C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev

Edit webservices datastore, click on Advanced, enter the values for username and password parameters, use the same username and password that you are using in SoapUI

remove the %LINK_DIR%\log\axis2_log.txt file and run the job again from command line with additional -D -np argument and now check the axis2_log.txt for any errors
axis2.zip (1.0 KB)


manoj_d (BOB member since 2009-01-02)

Hi Manoj,

Thank you so much! I now get the below error - SSL engine- loading CA certificate failed.

The certificate is exported from Firefox and saved as .crt when specified with X.509 Certificate with chain(PEM) format.

I wonder if there is still a setup concern somewhere - client certificate chain file not specified as stated in the [info] log file…

[Wed Jun 18 10:04:32 2014] [debug] …\src\core\engine\phase.c(121) axis2_handler_t *request_uri_based_dispatcher added to the index 0 of the phase Transport
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\engine\phase.c(121) axis2_handler_t *addressing_based_dispatcher added to the index 1 of the phase Transport
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\engine\phase.c(121) axis2_handler_t *rest_dispatcher added to the index 0 of the phase Dispatch
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\engine\phase.c(121) axis2_handler_t *soap_message_body_based_dispatcher added to the index 1 of the phase Dispatch
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\engine\phase.c(121) axis2_handler_t *soap_action_based_dispatcher added to the index 2 of the phase Dispatch
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\engine\phase.c(121) axis2_handler_t *dispatch_post_conditions_evaluator added to the index 0 of the phase PostDispatch
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\engine\phase.c(121) axis2_handler_t *context_handler added to the index 1 of the phase PostDispatch
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\deployment\conf_builder.c(233) No custom dispatching order found. Continue with the default dispatching order
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\deployment\conf_builder.c(378) Module logging found in axis2.xml
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\deployment\conf_builder.c(378) Module addressing found in axis2.xml
[Wed Jun 18 10:04:32 2014] [debug] …\util\src\class_loader.c(140) C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/lib/axis2_http_sender.dll shared lib loaded successfully
[Wed Jun 18 10:04:32 2014] [debug] …\util\src\class_loader.c(140) C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/lib/axis2_http_sender.dll shared lib loaded successfully
[Wed Jun 18 10:04:32 2014] [debug] …\util\src\class_loader.c(140) C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/lib/axis2_http_receiver.dll shared lib loaded successfully
[Wed Jun 18 10:04:32 2014] [debug] …\util\src\class_loader.c(140) C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/lib/axis2_http_receiver.dll shared lib loaded successfully
[Wed Jun 18 10:04:32 2014] [info] No files in the path C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/services.
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\deployment\dep_engine.c(1283) axis2_dep_engine_load_module_dll: DLL path is : C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/modules/addressing/axis2_mod_addr.dll
[Wed Jun 18 10:04:32 2014] [debug] …\util\src\class_loader.c(140) C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/modules/addressing/axis2_mod_addr.dll shared lib loaded successfully
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\deployment\dep_engine.c(1283) axis2_dep_engine_load_module_dll: DLL path is : C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/modules/logging/axis2_mod_log.dll
[Wed Jun 18 10:04:32 2014] [debug] …\util\src\class_loader.c(140) C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/modules/logging/axis2_mod_log.dll shared lib loaded successfully
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\deployment\dep_engine.c(1283) axis2_dep_engine_load_module_dll: DLL path is : C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/modules/rampart/mod_rampart.dll
[Wed Jun 18 10:04:32 2014] [debug] …\util\src\class_loader.c(140) C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/modules/rampart/mod_rampart.dll shared lib loaded successfully
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler LoggingInHandler to phase PreDispatch
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler AddressingInHandler to phase Transport
[Wed Jun 18 10:04:32 2014] [info] [rampart][rampart_mod] rampart_mod initialized
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(139) Service name is : ANONYMOUS_SERVICE
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:logging
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(2058) Trying to add this handler LoggingInHandler to system pre defined phases , but those handlers are already added to global chain which run irrespective of the service
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:addressing
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(2058) Trying to add this handler AddressingInHandler to system pre defined phases , but those handlers are already added to global chain which run irrespective of the service
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:logging
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:addressing
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler LoggingOutHandler to phase MessageOut
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler AddressingOutHandler to phase MessageOut
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:logging
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:addressing
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:logging
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:addressing
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler LoggingOutHandler to phase MessageOut
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler AddressingOutHandler to phase MessageOut
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:logging
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(2058) Trying to add this handler LoggingInHandler to system pre defined phases , but those handlers are already added to global chain which run irrespective of the service
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:addressing
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(2058) Trying to add this handler AddressingInHandler to system pre defined phases , but those handlers are already added to global chain which run irrespective of the service
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:logging
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:addressing
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler LoggingOutHandler to phase MessageOut
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler AddressingOutHandler to phase MessageOut
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:logging
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:addressing
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:logging
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:addressing
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler LoggingOutHandler to phase MessageOut
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler AddressingOutHandler to phase MessageOut
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:logging
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(2058) Trying to add this handler LoggingInHandler to system pre defined phases , but those handlers are already added to global chain which run irrespective of the service
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:addressing
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(2058) Trying to add this handler AddressingInHandler to system pre defined phases , but those handlers are already added to global chain which run irrespective of the service
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:logging
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:addressing
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler LoggingOutHandler to phase MessageOut
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler AddressingOutHandler to phase MessageOut
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:logging
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:addressing
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:logging
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:addressing
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler LoggingOutHandler to phase MessageOut
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler AddressingOutHandler to phase MessageOut
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\clientapi\op_client.c(888) Start:axis2_op_client_infer_transport
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\clientapi\op_client.c(954) End:axis2_op_client_infer_transport
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\engine\phase.c(210) Invoke the handler LoggingOutHandler within the phase MessageOut
[Wed Jun 18 10:04:32 2014] [info] Starting logging out handler …
[Wed Jun 18 10:04:32 2014] [info] Output message: <soapenv:Envelope xmlns:soapenv=“http://schemas.xmlsoap.org/soap/envelope/”>soapenv:Body<ns1:getRespondents xmlns:ns1=“http://result.form.v81.api.keysurvey.com”>162862
</ns1:getRespondents></soapenv:Body></soapenv:Envelope>
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\engine\phase.c(210) Invoke the handler AddressingOutHandler within the phase MessageOut
[Wed Jun 18 10:04:32 2014] [info] Starting addressing out handler
[Wed Jun 18 10:04:32 2014] [debug] …\src\modules\mod_addr\addr_out_handler.c(133) No action present. Stop processing addressing
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\transport\http\sender\http_transport_sender.c(246) ctx_epr:https://keysurvey.qut.edu.au:443/Member/api/v81/form/result/FormResultManagementService
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\transport\http\sender\http_transport_sender.c(805) using axis2 native http sender.
[Wed Jun 18 10:04:32 2014] [debug] …\src\core\transport\http\sender\http_sender.c(416) msg_ctx_id:urn:uuid:4823990f-ff58-4cd5-bae9-43cc0fa9acbf
[Wed Jun 18 10:04:32 2014] [info] [ssl client] Client certificate chain filenot specified
[Wed Jun 18 10:04:32 2014] [error] …\src\core\transport\http\sender\ssl\ssl_utils.c(112) [ssl client] Loading CA certificate failed, ca_file is C:\Config\keysurveydev.crt
[Wed Jun 18 10:04:32 2014] [error] …\src\core\transport\http\sender\ssl\ssl_stream.c(101) Error occurred in SSL engine
[Wed Jun 18 10:04:32 2014] [error] …\src\core\transport\http\sender\http_client.c(287) Data stream creation failed for Host keysurvey.qut.edu.au and 443 port
[Wed Jun 18 10:04:32 2014] [error] …\src\core\transport\http\sender\http_client.c(544) client data stream null or socket error for host keysurvey.qut.edu.au and 443 port
[Wed Jun 18 10:04:32 2014] [error] …\src\core\transport\http\sender\http_client.c(548) A read attempt(HTTP) for the reply without sending the request
[Wed Jun 18 10:04:32 2014] [error] …\src\core\transport\http\sender\http_sender.c(1381) status_code < 0
[Wed Jun 18 10:04:32 2014] [error] …\src\core\engine\engine.c(179) Transport sender invoke failed
[Wed Jun 18 10:04:32 2014] [info] [rampart][rampart_mod] rampart_mod shutdown

I will keep doing the research! Thank you!
I will get the S# and raise a case soon.


AmyQ (BOB member since 2012-07-10)

you are not using the correct certificate or it’s in wrong format
use the attached certificate file, unzip and copy this file to C:\Config
keysurveydev.zip (3.0 KB)


manoj_d (BOB member since 2009-01-02)

Hi Manoj,

I later noticed that I didn’t specify my directory correctly for the CA file. Once I did the right path, it had the below error.
Also, using your CA, it has the same error as below too! But the two CAs are different. I am wondering where did I do wrong in getting the CA. Yours has 3 phrases but mine has 4…

Anyway, the error is as below.

[Wed Jun 18 17:07:39 2014] [debug] …\src\core\engine\phase.c(121) axis2_handler_t *request_uri_based_dispatcher added to the index 0 of the phase Transport
[Wed Jun 18 17:07:39 2014] [debug] …\src\core\engine\phase.c(121) axis2_handler_t *addressing_based_dispatcher added to the index 1 of the phase Transport
[Wed Jun 18 17:07:39 2014] [debug] …\src\core\engine\phase.c(121) axis2_handler_t *rest_dispatcher added to the index 0 of the phase Dispatch
[Wed Jun 18 17:07:39 2014] [debug] …\src\core\engine\phase.c(121) axis2_handler_t *soap_message_body_based_dispatcher added to the index 1 of the phase Dispatch
[Wed Jun 18 17:07:39 2014] [debug] …\src\core\engine\phase.c(121) axis2_handler_t *soap_action_based_dispatcher added to the index 2 of the phase Dispatch
[Wed Jun 18 17:07:39 2014] [debug] …\src\core\engine\phase.c(121) axis2_handler_t *dispatch_post_conditions_evaluator added to the index 0 of the phase PostDispatch
[Wed Jun 18 17:07:39 2014] [debug] …\src\core\engine\phase.c(121) axis2_handler_t *context_handler added to the index 1 of the phase PostDispatch
[Wed Jun 18 17:07:39 2014] [debug] …\src\core\deployment\conf_builder.c(233) No custom dispatching order found. Continue with the default dispatching order
[Wed Jun 18 17:07:39 2014] [debug] …\src\core\deployment\conf_builder.c(378) Module logging found in axis2.xml
[Wed Jun 18 17:07:39 2014] [debug] …\src\core\deployment\conf_builder.c(378) Module addressing found in axis2.xml
[Wed Jun 18 17:07:39 2014] [debug] …\util\src\class_loader.c(140) C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/lib/axis2_http_sender.dll shared lib loaded successfully
[Wed Jun 18 17:07:39 2014] [debug] …\util\src\class_loader.c(140) C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/lib/axis2_http_sender.dll shared lib loaded successfully
[Wed Jun 18 17:07:39 2014] [debug] …\util\src\class_loader.c(140) C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/lib/axis2_http_receiver.dll shared lib loaded successfully
[Wed Jun 18 17:07:39 2014] [debug] …\util\src\class_loader.c(140) C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/lib/axis2_http_receiver.dll shared lib loaded successfully
[Wed Jun 18 17:07:39 2014] [info] No files in the path C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/services.
[Wed Jun 18 17:07:39 2014] [debug] …\src\core\deployment\dep_engine.c(1283) axis2_dep_engine_load_module_dll: DLL path is : C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/modules/addressing/axis2_mod_addr.dll
[Wed Jun 18 17:07:39 2014] [debug] …\util\src\class_loader.c(140) C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/modules/addressing/axis2_mod_addr.dll shared lib loaded successfully
[Wed Jun 18 17:07:39 2014] [debug] …\src\core\deployment\dep_engine.c(1283) axis2_dep_engine_load_module_dll: DLL path is : C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/modules/logging/axis2_mod_log.dll
[Wed Jun 18 17:07:39 2014] [debug] …\util\src\class_loader.c(140) C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/modules/logging/axis2_mod_log.dll shared lib loaded successfully
[Wed Jun 18 17:07:39 2014] [debug] …\src\core\deployment\dep_engine.c(1283) axis2_dep_engine_load_module_dll: DLL path is : C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/modules/rampart/mod_rampart.dll
[Wed Jun 18 17:07:40 2014] [debug] …\util\src\class_loader.c(140) C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice-keysurveydev/modules/rampart/mod_rampart.dll shared lib loaded successfully
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler LoggingInHandler to phase PreDispatch
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler AddressingInHandler to phase Transport
[Wed Jun 18 17:07:40 2014] [info] [rampart][rampart_mod] rampart_mod initialized
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(139) Service name is : ANONYMOUS_SERVICE
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:logging
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(2058) Trying to add this handler LoggingInHandler to system pre defined phases , but those handlers are already added to global chain which run irrespective of the service
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:addressing
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(2058) Trying to add this handler AddressingInHandler to system pre defined phases , but those handlers are already added to global chain which run irrespective of the service
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:logging
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:addressing
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler LoggingOutHandler to phase MessageOut
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler AddressingOutHandler to phase MessageOut
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:logging
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:addressing
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:logging
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:addressing
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler LoggingOutHandler to phase MessageOut
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler AddressingOutHandler to phase MessageOut
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:logging
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(2058) Trying to add this handler LoggingInHandler to system pre defined phases , but those handlers are already added to global chain which run irrespective of the service
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:addressing
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(2058) Trying to add this handler AddressingInHandler to system pre defined phases , but those handlers are already added to global chain which run irrespective of the service
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:logging
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:addressing
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler LoggingOutHandler to phase MessageOut
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler AddressingOutHandler to phase MessageOut
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:logging
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:addressing
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:logging
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:addressing
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler LoggingOutHandler to phase MessageOut
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler AddressingOutHandler to phase MessageOut
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:logging
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(2058) Trying to add this handler LoggingInHandler to system pre defined phases , but those handlers are already added to global chain which run irrespective of the service
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:addressing
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(2058) Trying to add this handler AddressingInHandler to system pre defined phases , but those handlers are already added to global chain which run irrespective of the service
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:logging
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:addressing
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler LoggingOutHandler to phase MessageOut
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler AddressingOutHandler to phase MessageOut
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:logging
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:addressing
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:logging
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_resolver.c(723) Module name is:addressing
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler LoggingOutHandler to phase MessageOut
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\phaseresolver\phase_holder.c(139) Add handler AddressingOutHandler to phase MessageOut
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\clientapi\op_client.c(888) Start:axis2_op_client_infer_transport
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\clientapi\op_client.c(954) End:axis2_op_client_infer_transport
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\engine\phase.c(210) Invoke the handler LoggingOutHandler within the phase MessageOut
[Wed Jun 18 17:07:40 2014] [info] Starting logging out handler …
[Wed Jun 18 17:07:40 2014] [info] Output message: <soapenv:Envelope xmlns:soapenv=“http://schemas.xmlsoap.org/soap/envelope/”>soapenv:Body<ns1:getRespondents xmlns:ns1=“http://result.form.v81.api.keysurvey.com”>162862
</ns1:getRespondents></soapenv:Body></soapenv:Envelope>
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\engine\phase.c(210) Invoke the handler AddressingOutHandler within the phase MessageOut
[Wed Jun 18 17:07:40 2014] [info] Starting addressing out handler
[Wed Jun 18 17:07:40 2014] [debug] …\src\modules\mod_addr\addr_out_handler.c(133) No action present. Stop processing addressing
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\transport\http\sender\http_transport_sender.c(246) ctx_epr:https://keysurvey.qut.edu.au:443/Member/api/v81/form/result/FormResultManagementService
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\transport\http\sender\http_transport_sender.c(805) using axis2 native http sender.
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\transport\http\sender\http_sender.c(416) msg_ctx_id:urn:uuid:20d66ea7-e397-4d03-8273-30d3827ef7a7
[Wed Jun 18 17:07:40 2014] [info] [ssl client] Client certificate chain filenot specified
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\transport\http\sender\ssl\ssl_utils.c(190) [ssl client] SSL certificate verified against peer
[Wed Jun 18 17:07:40 2014] [error] …\src\core\transport\http\sender\http_sender.c(1411) Error occurred in transport
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\transport\http\sender\http_transport_sender.c(822) OP name axutil_qname_get_localpart = http://www.w3.org/2004/08/wsdl/out-in
[Wed Jun 18 17:07:40 2014] [debug] …\axiom\src\soap\soap_builder.c(930) Identified soap version is soap11
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\engine\phase.c(210) Invoke the handler request_uri_based_dispatcher within the phase Transport
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\engine\phase.c(210) Invoke the handler AddressingInHandler within the phase Transport
[Wed Jun 18 17:07:40 2014] [info] Starting addressing in handler
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\engine\phase.c(210) Invoke the handler addressing_based_dispatcher within the phase Transport
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\engine\phase.c(210) Invoke the handler LoggingInHandler within the phase PreDispatch
[Wed Jun 18 17:07:40 2014] [info] Starting logging in handler …
[Wed Jun 18 17:07:40 2014] [error] …\src\core\transport\http\sender\ssl\ssl_stream.c(162) SSL Error: Premature close
[Wed Jun 18 17:07:40 2014] [error] …\axiom\src\parser\libxml2\libxml2_reader_wrapper.c(464) error occurred in reading xml stream
[Wed Jun 18 17:07:40 2014] [info] Input message: <S:Envelope xmlns:S=“http://schemas.xmlsoap.org/soap/envelope/”><S:Body><ns2:Fault xmlns:ns2=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:ns3=“http://www.w3.org/2003/05/soap-envelope”>ns2:ServerThe Login ID and/or Password did not match our records.<ns3:WSSecurityException xmlns:ns2=“http://result.form.v81.api.keysurvey.com” xmlns:ns3=“http://v81.api.keysurvey.com”>100</ns3:WSSecurityException></ns2:Fault></S:Body></S:Envelope>
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\engine\phase.c(210) Invoke the handler rest_dispatcher within the phase Dispatch
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\engine\phase.c(210) Invoke the handler soap_message_body_based_dispatcher within the phase Dispatch
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\engine\soap_body_disp.c(127) Checking for service using SOAP message body’s first child’s namespace URI : http://schemas.xmlsoap.org/soap/envelope/
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\engine\phase.c(210) Invoke the handler soap_action_based_dispatcher within the phase Dispatch
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\engine\soap_action_disp.c(89) Checking for service using SOAPAction is not implemented
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\engine\phase.c(210) Invoke the handler dispatch_post_conditions_evaluator within the phase PostDispatch
[Wed Jun 18 17:07:40 2014] [debug] …\src\core\engine\phase.c(210) Invoke the handler context_handler within the phase PostDispatch
[Wed Jun 18 17:07:40 2014] [info] [rampart][rampart_mod] rampart_mod shutdown

I am awaiting for the S# to raise a case. There is something wrong with the Login ID and/or Password. But I am pretty sure there isn’t anything wrong in them.

Thank you!

Amy


AmyQ (BOB member since 2012-07-10)

using the certificate that I provided there is no problem in connecting to the service, but looks like the credentials are not valid and server is returning an exception in the response


manoj_d (BOB member since 2009-01-02)

Thanks!
Yes you are right, by looking at it, it seems like a Username/Password issue.
I did use the right username and password for it, unless the authentication schema needs to be reset to ‘Basic’? The Username and Password work fine in SoapUI.

The setup in SoapUI is
Authentication: Basic
Username: same as DS
Password: same as DS
Domain: blank
Pre-emptive auth: Authenticate pre-emptively

I am creating a case now. I will let you know once it’s created. Thanks!


AmyQ (BOB member since 2012-07-10)

SAP Note 885875 - Known issues with SAP J2EE 6.40 SP14
mentioned the SSL Premature Close error may be caused by the J2EE kernel version#.

Does Data Services use the J2EE? How could I find out my current J2EE version# and SP#?

Is it possible that it’s caused by this?
Thanks!

Amy


AmyQ (BOB member since 2012-07-10)

No, DS is not using Java based client, it’s C++ client, you may get invalid logon error for other reason also, may be the request is not going in the format that server is expecting


manoj_d (BOB member since 2009-01-02)