v.v.satyanarayana jalluri

Greenhorn
+ Follow
since Oct 19, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by v.v.satyanarayana jalluri

Please rectify the problem. I am getting error while generating skeleton for web services using jax-ws runtime environment on WAS 6.1

The MyService.wsdl generated WSDL file could not be read correctly because of the following error: javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: Problem parsing '- WSDL Document -'.: org.xml.sx.SAXParseException: Premature end of file.

stack trace:
at com.ibm.ws.websvcs.wsdl.WASWSDLGenerator.generateWsdl(WASWSDLGenerator.java:210)
at org.apache.axis2.jaxws.description.impl.EndpointDescriptionImpl.generateWSDL(EndpointDescriptionImpl.java:1754)
.................
15 years ago
Hi,
I'm using JAX-RPC with apache axis. do i need to place xsd files and wsdl files in ear file? if it is, where can i place them(in which location of hierarchy).

Thanks in Advance.
15 years ago
Hi....
First of all, congrats to you... could you tell me which mock exams you had prepared for that.... because the mock exams would make us much confident & give some tricky questions. and let me know how many questions are there in the mock exam. If you find any difficult questions/ tricky point, please post here....

Thanks in Advance,
Narayana.
15 years ago
thanks for giving valuable suggestions to ranchers. im preparing for scjp 5.0.
16 years ago

Originally posted by Nicole Facompre:


I didn't realise that creating "sasi" actually creates a new object!!




see dear, in java each string is treated as an object. so "sasi" in the expression s+"sasi" is a string object.
hi srinivasa rao,

1st solve this step by step.
1st statement:
String s = �Sri�;
here, jvm will create a "Sri" object and its reference is assigned to s. upto here 1 string object is created.

2nd statement:
s = s + �sasi�;
here, jvm will create "sasi" object and it is concated to the string which is in s. but strings are immutable. so the result of "Srisai" is created within new object and then its reference is assigned to s. so here 2 objects ("sasi" and "Srisasi") are created. upto here 3 string objects are created.

3rd statement:
s = s.substring(3, 5);
here, right side variable s refers to the string Srisasi. the substring is sa. Again a string object "sa" is created and it will be assigned to s. upto here 4 string objects are created.

4th statement:
s = s.toUpperCase();
here, string "sa" is changed to uppercase "SA". for this, again new string object is returned by toUpperCase() and it is assigned to s. upto here 5 string objects are created.

5th statement:
return s.toString();
here, the string in s itself is returned....



so finally, 5 string objects are created.