ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Problem invoking a web service with authorization

Post new topic  Reply to topic
 Problem invoking a web service with authorization « View previous topic :: View next topic » 
Author Message
broly
PostPosted: Thu Aug 02, 2012 9:14 am    Post subject: Problem invoking a web service with authorization Reply with quote

Newbie

Joined: 02 Aug 2012
Posts: 6

Hi to all, I'm new on this.

I'm stuck with this problem during the whole week, I hope you can help me.
I'm invoking a web service and the I debug the SOAP Request node, I get this exception:

Code:
ExceptionList
   RecoverableException
         File:CHARACTER:/build/S610_P/src/DataFlowEngine/ImbDataFlowNode.cpp
         Line:INTEGER:957
         Function:CHARACTER:ImbDataFlowNode::createExceptionList
         Type:CHARACTER:ImbRequestTemplateNode
         Name:CHARACTER:TestFlow#FCMComposite_1_1
         Label:CHARACTER:TestFlow.SOAP Request
         Catalog:CHARACTER:BIPv610
         Severity:INTEGER:3
         Number:INTEGER:2230
         Text:CHARACTER:Node throwing exception
         RecoverableException
               File:CHARACTER:/build/S610_P/src/WebServices/WSLibrary/ImbSOAPRequestNode.cpp
               Line:INTEGER:2166
               Function:CHARACTER:ImbSOAPRequestNode::logWebServiceInvocationException
               Type:CHARACTER:
               Name:CHARACTER:
               Label:CHARACTER:
               Catalog:CHARACTER:BIPv610
               Severity:INTEGER:1
               Number:INTEGER:3162
               Text:CHARACTER:WebService Request Exception
               Insert
                     Type:INTEGER:12
                     Text:CHARACTER:436f6e74656e742d4c656e6774683a203539350d0a436f6e74656e742d547970653a20746578742f786d6c3b20636861727365743d69736f2d380d0a0d0a
               Insert
                     Type:INTEGER:12
                     Text:CHARACTER:3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e656d61732e78656c6f70653e
               Insert
                     Type:INTEGER:12
                     Text:CHARACTER:485454502f312e312034303120556e617574686f72697a65640d0a0313a3334203a20656e2d55530d0a0d0a
               Insert
                     Type:INTEGER:5
                     Text:CHARACTER:
               Insert
                     Type:INTEGER:5
                     Text:CHARACTER:POST /Polizas/services/PolizasService/ HTTP/1.1

               RecoverableException
                     File:CHARACTER:/build/S610_P/src/WebServices/WSLibrary/ImbSOAPRequestNode.cpp
                     Line:INTEGER:1134
                     Function:CHARACTER:ImbSOAPRequestNode::requestData
                     Type:CHARACTER:ImbRequestTemplateNode
                     Name:CHARACTER:TestFlow#FCMComposite_1_1
                     Label:CHARACTER:TestFlow.SOAP Request
                     Catalog:CHARACTER:BIPv610
                     Severity:INTEGER:1
                     Number:INTEGER:3691
                     Text:CHARACTER:SyncRequest HTTP Error returned
                     Insert
                           Type:INTEGER:5
                           Text:CHARACTER:HTTP/1.1 401 Unauthorized
                     Insert
                           Type:INTEGER:5
                           Text:CHARACTER:some url using https


I've invoked this same service in SOAPUI and there's no problem, when I request it, it asked me for user and pass and I write them out without problem, but, my question is: How can I specify the user and pass in the broker??

I've also tried 'Basic hjkhkjhkjhkjhk' like this:
Code:

SET OutputRoot.HTTPRequestHeader."Authorization" = 'Basic TVhzMDAxMDA3ODVBOioxTnVldm8q';

But I have no success.
Please, I really appreciate if you can help me.

Thanks.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Aug 02, 2012 9:17 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/topic/com.ibm.etools.mft.doc/ac55630_.htm
Back to top
View user's profile Send private message
broly
PostPosted: Thu Aug 02, 2012 9:22 am    Post subject: Reply with quote

Newbie

Joined: 02 Aug 2012
Posts: 6

mqjeff wrote:
http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/topic/com.ibm.etools.mft.doc/ac55630_.htm

Hi mqjeff

Thanks for the linked provided above, I've read it but what I need most is a real example or something that direct me to solve my problem, do you have some??
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Aug 02, 2012 9:27 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/topic/com.ibm.etools.mft.doc/ac60160_.htm
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Problem invoking a web service with authorization
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.