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 » Web Service on Message Broker v7

Post new topic  Reply to topic Goto page 1, 2  Next
 Web Service on Message Broker v7 « View previous topic :: View next topic » 
Author Message
kunal07
PostPosted: Sat Dec 08, 2012 11:31 am    Post subject: Web Service on Message Broker v7 Reply with quote

Acolyte

Joined: 05 Dec 2012
Posts: 72

Hi,

can any one tell me how to implement the web service in message broker v7. how i can locally test the same. if am using a soap input node..how to send the a web service request to broker ? Please any one explain the same step by step...that would be very helpful for me...thanks
Back to top
View user's profile Send private message
mqjeff
PostPosted: Sat Dec 08, 2012 11:58 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

It would be very helpful to me if you spent a lot of your own time reading, thinking, and trying things.

I suggest you start by reading about the Test Client.

If you do not know *where* to read about the Test Client, I suggest you approach someone who sits in the same office as you, and ask them for help.
Back to top
View user's profile Send private message
kunal07
PostPosted: Sat Dec 08, 2012 12:07 pm    Post subject: Reply with quote

Acolyte

Joined: 05 Dec 2012
Posts: 72

i am reading the things...i have tried to use SOAP UI tool to send the message to SOAP input node. but am not able to understand how the SOAP UI send the message to input node ? i have uploaded the sample wsdl file in SOAP UI tool and trying to send the request...but it is not coming in SOAP input node...
or might be i m doing some thing wrong...
Back to top
View user's profile Send private message
Vitor
PostPosted: Sat Dec 08, 2012 2:07 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

kunal07 wrote:
or might be i m doing some thing wrong...


Or not doing something? Like configuring your flow correctly? You've said nothing about how you set the flow up apart from you claim there's a soap input node it.

You also say "it's not coming in the soap input node"; how do you know? Do you just mean the debugger doesn't react? What does the user trace say? Is there any diagnostics in that indicating that the node is rejecting the message? What (if any) steps have you taken in your flow to catch invalid or unauthorized requests?

Also what have you done to diagnose the problem apart from posting here? Have you investigated any error responses from SoapUI? Have you verified network connectivity? Even if this is all running on your laptop there could be a firewall running? Have you verified the correct listener is running and that there are no probative errors in the broker logs?

As my most worthy associate says, have you even proved the flow works in the Test Client?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Mon Dec 10, 2012 6:08 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

kunal07 wrote:
i am reading the things...i have tried to use SOAP UI tool to send the message to SOAP input node. but am not able to understand how the SOAP UI send the message to input node ? i have uploaded the sample wsdl file in SOAP UI tool and trying to send the request...but it is not coming in SOAP input node...
or might be i m doing some thing wrong...


It seems you are missing some basic fundamental concepts about IBM WebSphere Message Broker. Since your reading is not getting you where you need to go, what other resources might help you understand WMB better?
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
kunal07
PostPosted: Mon Dec 10, 2012 10:28 am    Post subject: Reply with quote

Acolyte

Joined: 05 Dec 2012
Posts: 72

i am running the sample flows of Address Book Provider Flow from v7 samples and tutorials , i used the flow .wsdl file in SOAP UI Tool. In Soap input node propertyof HTTP Transport, i have given the path from where WSDL is sending request .
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Mon Dec 10, 2012 10:34 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

kunal07 wrote:
i am running the sample flows of Address Book Provider Flow from v7 samples and tutorials , i used the flow .wsdl file in SOAP UI Tool. In Soap input node propertyof HTTP Transport, i have given the path from where WSDL is sending request .


From SoapUI , did you import AddressBookMessageSet/com/addressbook/AddressBook.wsdl ?

SoapUI -> File -> New SoapUI Project ?

Once you do this, you should have a structure in the left pane of SoapUI that looks like this:

Projects -> AddressBookSample -> AddressBookPortBinding -> SaveAddress -> Request 1

If you double click on Request 1, a window will open with this info prepoulated:

Code:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:add="http://addressbook.com/">
   <soapenv:Header/>
   <soapenv:Body>
      <add:Person>
         <add:Name>?</add:Name>
         <add:Address>
            <add:City>?</add:City>
            <add:Street>?</add:Street>
            <add:Province>?</add:Province>
            <add:PostalCode>?</add:PostalCode>
            <add:PhoneNumber>
               <add:Area>?</add:Area>
               <add:Prefix>?</add:Prefix>
               <add:Local>?</add:Local>
            </add:PhoneNumber>
         </add:Address>
      </add:Person>
   </soapenv:Body>
</soapenv:Envelope>

_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
kunal07
PostPosted: Mon Dec 10, 2012 11:25 am    Post subject: Reply with quote

Acolyte

Joined: 05 Dec 2012
Posts: 72

yes i did the same ....when i click on Find Address Request 1 then send the summit button..and the response come back on next window. but i annot understand how this request will come to SOAP Input node. can you tell me what other change i need to do in this SampleFlow...
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Mon Dec 10, 2012 11:28 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

kunal07 wrote:
yes i did the same ....when i click on Find Address Request 1 then send the summit button..and the response come back on next window. but i annot understand how this request will come to SOAP Input node. can you tell me what other change i need to do in this SampleFlow...


You must first "Save Address" before you "Find Address". If you do not 'Save Address", there is nothing to find.

From Projects -> AddressBookSample -> AddressBookPortBinding -> SaveAddress -> Request 1

Double click on Request 1, then fill the form (replace all question marks with real data).

After the form is filled, be sure to deploy your flow to a WMB runtime instance.

Once your flow is deployed, press the green arrow in SoapUI.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Mon Dec 10, 2012 11:35 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

It seems you do not understand how the SOAPInput node receives messages.

It receives messages from the SOAP Listener in the Broker. The SOAP Listener in the Broker has a port # associated with it, which SOAP Clients can use to send requests.

SOAPUI is a SOAP Client.

There's a lot more in depth technical explanation behind this. You almost certainly will not get that level of free technical training by asking questions here.

Unless someone feels very kind.

You really should be talking to the other people working at your job site, to get local help from the people who are supposed to be helping you - rather than asking for help from random strangers on the internet.
Back to top
View user's profile Send private message
kunal07
PostPosted: Sat Dec 15, 2012 7:48 am    Post subject: Reply with quote

Acolyte

Joined: 05 Dec 2012
Posts: 72

thanx for your suggestions , its working fine now. how can i send HTTPS request . How do I create HTTPS for localhost apache or SOAP UI. what is self signed cert, plz can any one share some good doc on this.
Back to top
View user's profile Send private message
Vitor
PostPosted: Sat Dec 15, 2012 8:59 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

kunal07 wrote:
How do I create HTTPS for localhost apache or SOAP UI.


The same way you do it for anything else.

kunal07 wrote:
what is self signed cert,


A certificate you've signed yourself. This is nothing to do with broker or really even web service but is an SSL concept. You really do lack the basics don't you?

kunal07 wrote:
plz can any one share some good doc on this.


If you type "SSL", "self signed cert" or "https" into Google then you'll find a raft of good documentation. You'll also find all the information you need on how they specifically apply to the product in the InfoCenter.

Or you could just wait for @lancelotlinc to post more uncharacteristically helpful step by step instructions.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Sat Dec 15, 2012 9:31 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

kunal07 wrote:
thanx for your suggestions , its working fine now. how can i send HTTPS request . How do I create HTTPS for localhost apache or SOAP UI. what is self signed cert, plz can any one share some good doc on this.


Unfortunately, it's impossible to do this.

Unless you can find documentation in the Info Center that says that it is possible to do that, and then goes on to provide information on the necessary steps.

Can you find such documentation?
Back to top
View user's profile Send private message
kunal07
PostPosted: Sat Dec 15, 2012 9:57 am    Post subject: Reply with quote

Acolyte

Joined: 05 Dec 2012
Posts: 72

sorry for asking questions, i think this forum is not for beginners. :thumbdown
Back to top
View user's profile Send private message
mqjeff
PostPosted: Sat Dec 15, 2012 10:17 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

kunal07 wrote:
sorry for asking questions, i think this forum is not for beginners. :thumbdown


Demonstrate the effort you've made. You'll be surprised at how helpful this forum is, even for beginners, who take the most basic simple steps to demonstrate the effort they've already made to answer their own questions.

If you say "I read this part of the info center, and it said this about configuring SSL so I could create HTTPS requests, but I'm confused by *this* part", you'll get a lot different answer than if you say "teach me everything I need to know".

As this forum says, it is for busy professionals.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Web Service on Message Broker v7
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.