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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Developer
Posts: 777
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 );

 

BlackBerry Development Advisor
Posts: 769
Registered: ‎10-01-2009
My Device: All
My Carrier: N/A

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?

 

 

Highlighted
Developer
Posts: 777
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

BlackBerry Development Advisor
Posts: 769
Registered: ‎10-01-2009
My Device: All
My Carrier: N/A

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?

Developer
Posts: 777
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..

BlackBerry Development Advisor
Posts: 769
Registered: ‎10-01-2009
My Device: All
My Carrier: N/A

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?

Developer
Posts: 777
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..Smiley Sad

 

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

Developer
Posts: 777
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...

BlackBerry Development Advisor
Posts: 769
Registered: ‎10-01-2009
My Device: All
My Carrier: N/A

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.

Developer
Posts: 777
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...