Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Developer
ravi1989
Posts: 773
Registered: ‎07-21-2012
My Device: 9810
My Carrier: 0

Not able to call soap based web service in sencha

Hi

i am not able to call web service in sencha , response coming null. But  when i call by this method it display response

 

http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/why-it-goes-to-if-condiation/m-p...

var options = {
	url: 'http://184.106.159.143:8080/FirstGroupRailApps/services/RailAppsCAWS/getDestinationStationDashboard'...
	method: "GET",
	params: {
		param1:"AAP",
		
	},
	callback: function(options, success, response){
		if (success) {
		alert("Hi");
		console.log(options);
			console.log(response);
		console.log(response.responseXML);
			/*var store = new Ext.data.XmlStore({
				storeId: 'getDestinationStationDashboardResponse',
				autoLoad: true,
				autoDestroy: true,
				data: response.responseXML,
				//record: 'root',
				//idPath: 'ID',
				//fields: ...,
				//sortInfo: {
				  //  field: 'ID',
				   // direction: 'DESC'
				//}
			});*/
		} else {
		alert("Bye");
			for (var prop in response) {
				air.trace(prop + " = " + response[prop]);
			}
		}
	}
};
Ext.Ajax.request( options );

 

Please use plain text.
BlackBerry Development Advisor
chadtatro
Posts: 614
Registered: ‎10-01-2009
My Device: Z10
My Carrier: Bell

Re: Not able to call soap based web service in sencha

Hi Ravi,

 

There have been several answers to this question that you've been asking, and I've noticed a couple duplicate posts.  Could you please confirm if this has been solved in this post - http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/why-it-goes-to-if-condiation/m-p...

 

The_Anomoly posted a pretty extensive example that was custom made for you.  I assumed it was resolved?

 

 

Chad Tetreault | App Development Consultant | BlackBerry Developer Relations | developer.blackberry.com | @chadtatro
Please use plain text.
Developer
ravi1989
Posts: 773
Registered: ‎07-21-2012
My Device: 9810
My Carrier: 0

Re: Not able to call soap based web service in sencha

no sir i am not able to do that using ajax or jquey..the example is running but i want to call same web service using ajax or jquery

Please use plain text.
BlackBerry Development Advisor
chadtatro
Posts: 614
Registered: ‎10-01-2009
My Device: Z10
My Carrier: Bell

Re: Not able to call soap based web service in sencha

What is the reason you need to use jquery to do it, when there's an example that is working already?

Chad Tetreault | App Development Consultant | BlackBerry Developer Relations | developer.blackberry.com | @chadtatro
Please use plain text.
Developer
ravi1989
Posts: 773
Registered: ‎07-21-2012
My Device: 9810
My Carrier: 0

Re: Not able to call soap based web service in sencha

Actually  i am working with backbone , BACKBONE prefer ajax or jquery for calling web service..

Please use plain text.
BlackBerry Development Advisor
chadtatro
Posts: 614
Registered: ‎10-01-2009
My Device: Z10
My Carrier: Bell

Re: Not able to call soap based web service in sencha

So the example The_Anomoly posted does work for you, you just prefer to do it with jQuery?

Chad Tetreault | App Development Consultant | BlackBerry Developer Relations | developer.blackberry.com | @chadtatro
Please use plain text.
Developer
ravi1989
Posts: 773
Registered: ‎07-21-2012
My Device: 9810
My Carrier: 0

Re: Not able to call soap based web service in sencha

here someone help me he got response but i am not able to get that response..:smileysad:

 

http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/Help-to-call-one-method-from-web...

Please use plain text.
Developer
ravi1989
Posts: 773
Registered: ‎07-21-2012
My Device: 9810
My Carrier: 0

Re: Not able to call soap based web service in sencha

yes that work ..but same thing or web service i want to call with jquery...

Please use plain text.
BlackBerry Development Advisor
chadtatro
Posts: 614
Registered: ‎10-01-2009
My Device: Z10
My Carrier: Bell

Re: Not able to call soap based web service in sencha

If it were me, I would just use the provided example that is working and not be too concerned that it wasn't done with jQuery.

 

I think we need to consolidate this issue into just one forum post/thread.  It's very hard to know if you're still needing help when we have so many open threads dealing with the same question.

Chad Tetreault | App Development Consultant | BlackBerry Developer Relations | developer.blackberry.com | @chadtatro
Please use plain text.
Developer
ravi1989
Posts: 773
Registered: ‎07-21-2012
My Device: 9810
My Carrier: 0

Re: Not able to call soap based web service in sencha

Sorry sir...!!

 

can you please help me to call this web service using jquery or ajax so that my problem is solved

 

supportforums.blackberry.com/t5/Web-and-WebWorks-Development/why-it-goes-to-if-condiation/m-p/1911089#M29175

 

here someone help me he got response but i am not able to get that response..:smileysad:

 http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/Help-to-call-one-method-from-web...

Please use plain text.