I am working in the WAP(Wireless Application Protocol) based application.
I want to use XHTML MP at client side and Servlet at Serverside.
Can anyone help me out using any sample application which is based on client and server.
Any Useful code or URL will be appreciated.
Thanks,
Mishal Shah
Plenty of introduction here (http://www.developershome.com/wap/xhtmlmp/). you should really read that link as it describe xhtml mp.
This (http://www.developershome.com/wap/wapUpload/wap_upload.asp?page=jsp3) provides example of the usage of wap.
At the server side, you can read (http://java.sun.com/developer/technicalArticles/javaserverpages/wap/#WAP%20and%20Servlets) , where they provide how you implement code for serverside.
Related
If you enter a service endpoint in a browser you get a Microsoft generated page with a link to the wsdl and some sample C# and VB code for creating an instance of the service client. If you enter the wsdl link in a browser you get the wsdl. This all assumes no strange security restrictions of course.
Is there a way to have a service return a page of your own design? If I wanted to have a nice help screen describing the available service methods, or describing possible error messages for example. Either replacing the MS generated default page, or something that can be viewed like a wsdl but with a ?help query parameter for example.
I'm looking for really simple here with minimal changes to the existing services. If possible something that can be done by content creators or technical writers and not the service developers.
I'm not sure if you can override the default help page, but you can definitely serve up a help page. This article on WCF Custom Help Page explains how.
I am new to API's. I want to create one in grails.
I believe that another application website etc. would just post to a URL in my web-app and it will start a method.
Where is a good place to start my research into this. Any help would be grateful.Thanks.
it's my first answer but I hope it'll be useful for you :)
Here are some resources you should look into before making your own API:
REST - it's the theory about the whole concept of api you're building. Please find it on Wikipedia. I can't post link because of 2 links limit for new accounts here :)
http://en.wikipedia.org/wiki/SOAP - this is protocol supported by W3C for exchanging messages. Using standard should help your clients to adopt your api.
http://en.wikipedia.org/wiki/Oauth - obviously you should authenticate your users somehow. You can do it with Oauth - it's widely open and easy to implement. Again, your clients will have easy time connecting to it.
You will find implementations of all those technologies in Java or as Grails plugin itself.
Is there any way to connect mysql database with dojo web pages. Kindly give me some guide lines so that I can make it possible.
Dojo is a Javascript toolkit. When running in the browser, you will need some sort of adapter on the server to communicate with a sql database, usually through some sort of abstraction. It's considered bad practice to do anything which would pass through sql requests from client javascript code for security and probably for other reasons. Very often, a simple "web service" (servlet, php script, etc.) would service requests, read from the database and emit data to the client over HTTP in JSON, XML or some other format.
That said, Dojo does provide some abstractions beyond that. dojo.data provides an API for data access from Javascript which abstracts the data source, and it is used by various Dojo widgets including the dojox.grid. Take a look at QueryReadStore which comes with a sample PHP implementation.
AFAIK not without any serverside component (Servlet, PHP etc.)
I am trying to use sample FedEx Web Service code written in VB.NET to retrieve shipping rates.
The call returned rate information, but it returned rates that are way too high and do not match those shown on their web site for the same shipping parameters.
Their support team is willing to investigate the discrepancy if I can provide them the XML data, SOAP transaction I presume, but I do not know how to get at this.
Can someone help?
I have used Fiddler in the past for monitoring http requests/responses. You may give this a try but i suggest you revisit the sample just to check it's logic. It could be as simple as a datatype issue or just missing some zeros at the end or you might be sending some wrong parameter.
I think Web service Studio 2.0 can help you in this.. It can display XML & SOAP request responses and WSDL bindings of the given webservice.
And there is an codeplex alternative to test even WCF services .. Just give a try..
One way to do this would be to just sniff the connection using WireShark (free download, wireshark.org).
From this, you could view the entire transaction between client and server, and see what it was sending.
SoapUI is your friend, here.
You could use fiddler or the WCF tracing tool:
http://msdn.microsoft.com/en-us/library/aa702726.aspx
I'm working on a tool in C# that interfaces the JIRA SOAP API. I have read the documentation but I can't find what I'm looking for. Does anyone know if it is possible to link an issue to another one via this api?
PS : Actually, my real need is to convert an issue as a subtask of an issue...
Last time I looked, JIRA's web service wasn't really actively supported or encouraged by Atlassian. It's very much a second-class citizen compared to the web front end, with very basic operations.
Also, it's not a WSI-compliant web service (it's an old Axis-based RPC_encoded service), and so modern web service stacks won't even bind to it. You might want check that your client can perform basic query operations before diving into the depths of the API.
You can actually go pretty far with Jelly scripts, but converting an issue to a subtask then linking it as a subtask... I'm not positive that you can go that far.