Home » Java Technology

Web & Directory & Servers & Security

first impressionTue, 15 Jul 2008 11:39:00 GMT

For what its worth, here's my first impression of the WS Patterns book based on skimming Chapter 3.Good work. If the remaining chapters and patterns follow the same structure, this book would be useful in a particular way that most design-patterns books fall short. Specifically, it gives bot...

Comments (10) | Promote | Bookmark

Compatibility of Web Service serversTue, 15 Jul 2008 11:14:00 GMT

Ranchers:I am new to Web Services and got confused by compatibility of java Web Service code generated on different IDEs.My understanding is(correct me if I am wrong):In Java world, there are three stack of web service implementation:1. Annotated java--> beehive code gen-->Apache Beehive R...

Comments (8) | Promote | Bookmark

Getting Bad Response from Web serviceTue, 15 Jul 2008 11:15:00 GMT

Hi,I'm trying to post to the web service http://www.webservicex.net/CurrencyConvertor.asmx?WSDL using SOAP.My java program generates the following XML :code:<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Body> <ConversionRate xmlns="ht...

Comments (7) | Promote | Bookmark

Axis stub classes...classpath problemTue, 15 Jul 2008 10:56:00 GMT

Hello. If anybody has a minute, I did this successfully several months ago and i've been revisiting it and for some reason i can't get the client stub java files created from the wsdl. Here's what i have...C:\MWS\My WebService.wsdlC:\MWS\lib\...this folder contains all the axis and x...

Comments (5) | Promote | Bookmark

NoClassDefFoundError - BUT I CAN SEE THE CLASS!Tue, 15 Jul 2008 10:56:00 GMT

Ok boys... I'm hoping someone can help me with this. Have a very angry client waiting!I'm testing a new site here at work. Now at the local environment (my own local environment on my pc) I have no problem building the site and placing orders.But when I take the same ear file and deploy...

Comments (4) | Promote | Bookmark

JNI with AXIS - InvocationTargetExceptionTue, 15 Jul 2008 10:28:00 GMT

Hi All! I came to know from the mailing list that many people used Jniwith Axis. My task was to develop a web service which can invoke a JNI.Whenever I try to invoke jni from my service I get an Exception"InvocationTargetException". When i try to run this jni applicationwithout deploying it on t...

Comments (4) | Promote | Bookmark

apache axis attachmentTue, 15 Jul 2008 11:12:00 GMT

could anyone guide me to a step by step tutorial for working with attachments in apache axis...i am new to webservices...thanks in advance....

Comments (4) | Promote | Bookmark

What is BPEL?Tue, 15 Jul 2008 11:10:00 GMT

Hi people!what is BPEL? should be a language i believe, where is it used? what is its purpose? and how do they use it? i mean if it is interpreted by the browser or compiled by some compiler or... ...

Comments (2) | Promote | Bookmark

RPC/literalor, Document/literal & WS-I Basic ProfileTue, 15 Jul 2008 11:18:00 GMT

Hi All,Why is RPC/encoded style Web Services/WSDL not interropable ?What are the various (min. 5) differences from a programmer/webservice-developer-point-of-view between these wsdl styles the RPC/literalor, Document/literal and RPC/encoded ?...

Comments (2) | Promote | Bookmark

Getting a file from datahandlerTue, 15 Jul 2008 11:38:00 GMT

Hello,I have a mime attachment part that contains a file created using ObjectOutputStream. How do I get the file out of the datahandler so that I can use Objectinputstream to read the objects?Thanks.[ August 22, 2006: Message edited by: Angela Truce ]...

Comments (2) | Promote | Bookmark

Non web client for web serviceTue, 15 Jul 2008 10:24:00 GMT

Cany anybody point me to an article, or source code that shows an example of a (non web) client created to invoke a web service.I converted a business method on Java bean into a web service using RAD 6.0. It generated corresponding wsdl etc. RAD can also create a client project for you that uses...

Comments (2) | Promote | Bookmark

return an List with ObjectsTue, 15 Jul 2008 10:01:00 GMT

Hi,I would like to build a Web Service, which returns a List with Objects. The operation of the Web Service looks like that:code:public ArrayList getFlights(){ flights=new ArrayList(); flights.add(new Flight(1)); return flights;}The class Flight fullfills the java bean spezification:code:public...

Comments (2) | Promote | Bookmark

Data getting corrupt.Tue, 15 Jul 2008 10:18:00 GMT

Hi,I am trying to call a webservice with a ISO-8859-1 character on the server its adding a junk character.Submitted string forte: TestReceived string on server.¥ forte: TestWebservice is created using AXIS - wsdl2java RPC is used in webservice.Any help is much appreciated.Thanks,Hemen...

Comments (2) | Promote | Bookmark

How to protect Web ServicesTue, 15 Jul 2008 11:17:00 GMT

Hi I've this question but was not able to find any answers to it from the web services book I had. Generally, what's the way (best practice) to protect web services ? For instance, from the WSDL, any client can know what are the available methods to call. How do we protect the applicatio...

Comments (1) | Promote | Bookmark

Wrong Method Name Passed !Tue, 15 Jul 2008 10:05:00 GMT

Greetings, The below is the Exception when I was trying to invoke the webservice from Client Program. Please let me know where I was mistaken.How to set the method name in the client program. What might be the cause for the same.AxisFaultfaultCode: {http://schemas.xmlsoap.org/soap/envelope/}Serv...

Comments (1) | Promote | Bookmark

Where can I get the Axis source code?Tue, 15 Jul 2008 11:18:00 GMT

When I go to the apache axis java site http://svn.apache.org/viewcvs.cgi/webservices/axis/trunk/java/ all I can do is download one file at a time. This is just not going to work. Is there some way to get the whole project at once?Regards,- Tim Manchester...

Comments (1) | Promote | Bookmark

WSDL doc for a JAXM applicationTue, 15 Jul 2008 10:13:00 GMT

Hi, How do you generate a WSDL document for a Java Messaging application? The tools for WSDL generation with JAX-RPC are available but I can't seem to find any referance for WSDL generation for JAXM.RegardsSteve. ...

Comments (0) | Promote | Bookmark

IBM SOA Solution DesignerTue, 15 Jul 2008 10:55:00 GMT

Hi All...I just started prep. for IBM SOA 665.I would really appreciate if somebody could send me the study material and some guideline.....at : reachdev7@gmail.comThanks,Dev...

Comments (0) | Promote | Bookmark

Using Axis with JRun 3.1Tue, 15 Jul 2008 11:40:00 GMT

We currently have Axis 1.0 installed with JRun 3.1. We want to upgrade to Axis 1.1. Will it work with JRun 3.1 or do we need to upgrade to JRun 4.0?thanks, Donna...

Comments (0) | Promote | Bookmark

relative endpoint location in wsdlTue, 15 Jul 2008 10:00:00 GMT

Hello,Can someone tell me please if this is legal inside a wsdl ?code:<wsdl:service ...> <wsdl: port ...> <soap:address location="/myService"/> </wsdl: port></wsdl:service>Does the location must always start with http or https ?Thanks a lot :-)[ April 10, 2008: Mess...

Comments (0) | Promote | Bookmark

XML EncryptionTue, 15 Jul 2008 10:02:00 GMT

Hi All,I have a doubt regarding the use of AES cryptography algorithm. Can a standard Java program be used for encrypting the XML elements or do we need to use APACHE's Security Framework for encryption.Thanks and Kind Regards,-Kishore...

Comments (0) | Promote | Bookmark

End Point Design IssueTue, 15 Jul 2008 10:54:00 GMT

Hello All,I am designing serivce class ( EJB Session bean) WSAD SOAP env.I have 17 invokable methods in this service class, is it ok to have asmany method in one service class? What is a general rule about # of methodsin one serivce endpoint on which a WSDL is based?Thanks...

Comments (0) | Promote | Bookmark

error while viewing deployed services in axis.Tue, 15 Jul 2008 10:23:00 GMT

Hi All,When I click on List link in axis home page to view the list of deployed services, I get the following error.And now... Some ServicesAXIS errorSorry, something seems to have gone wrong... here are the details:Exception - org.apache.axis.ConfigurationException: Can't find handler name:...

Comments (0) | Promote | Bookmark

How to change the icon of the frameTue, 15 Jul 2008 11:58:00 GMT

Hi,Using HelpSet and HelpBroker classes, how to change the icon of the HelpContents frame launched from the java application...

Comments (0) | Promote | Bookmark

Advise needed !Tue, 15 Jul 2008 10:04:00 GMT

Hi,I have deployed a Web Service using Apache Axis exposing 2 methods.1. int add(int a, int b)2. String serviceMethod(byte[] classfile) - This method accepts byte codes and stores them in the local file system after executing it.Note that these byte codes are self-contained byte codes which simp...

Comments (0) | Promote | Bookmark

getting values from mobile.Tue, 15 Jul 2008 11:16:00 GMT

Hello friendsin my project i get values from from mobile ,my doubt is1 how the values come from mobile to the server2 is webservice play and role3 and from webservice how to send the values to servlet (which is in that server).\PLEASE HELP ME FRIENDS...

Comments (0) | Promote | Bookmark

How can setting host name & port in servicegen task?Tue, 15 Jul 2008 10:53:00 GMT

How can setting host name and port in servicegen task? So in WSDL descritpor? Thanks for answer ...

Comments (0) | Promote | Bookmark

Axis WSDL RestrictionsTue, 15 Jul 2008 11:35:00 GMT

All,I've deployed a document based service via Axis and the auto-generated WSDL file has been ample up to a point -- now I've hit a bit of road block. I'm at the point where I'm needing to indicate to the end user that some elements are *optional* while others are required. Seein...

Comments (0) | Promote | Bookmark

Stack overflow exceptionTue, 15 Jul 2008 10:26:00 GMT

When I try to generate proxy class based on the WSDL generated by AXIS (when we specify wsdl param in URL) using wsdl.exe (utility of .NET), it throws Fatal Stack Overflow Exception ........Any ideas would be appreciated?...

Comments (0) | Promote | Bookmark

Null Pointer ExceptionTue, 15 Jul 2008 10:25:00 GMT

Hi all,When i am running a webservices client which contact a WeB services resided in a Oracle 10g Application server...its running from our LAN Client...for external agencies we gave a dummy IP address which maps to server IP address to other external agencies...they are getting NULL POINTER EX...

Comments (0) | Promote | Bookmark