mvPrasad Regula

Ranch Hand
+ Follow
since Sep 14, 2009
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 mvPrasad Regula

For the following code Equal is printed



For the following code not equal is printed

Why is the following code returning zero? If I call giveMeJ() directly in System.out.println, I am getting 10.
Why is the code below printing String version, as both String and Object accept null value.
How does line #3 work out for you. It should give an error as left of assignment operator is one dimensional array and the right hand side of the assignment operator is 2 dimensional array.
I tried to generate the stub code using Axis2 and pasted it in netbeans. It is displaying errors. Here are the list of errors
1) addAnonymousOperations() --> Cannot find symbol

2) _operationClient.setCallback(new org.apache.axis2.client.async.AxisCallback() {
--> method setcallback cannot be applied to class org.apache.axis2.client.OperationClient cannot be applied to given types.

3) org.apache.axiom.om.OMDataSource dataSource =
new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME){
--> EchoResponse is not abstract and does not override serialize method in ADBDataSource.

4) public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) --> getPullParser in EchoStub.EchoResponse cannot implement getPullParser
I tried to generate the stub code using Axis2 and pasted it in netbeans. It is displaying errors. Here are the list of errors
1) addAnonymousOperations() --> Cannot find symbol

2) _operationClient.setCallback(new org.apache.axis2.client.async.AxisCallback() {
--> method setcallback cannot be applied to class org.apache.axis2.client.OperationClient cannot be applied to given types.

3) org.apache.axiom.om.OMDataSource dataSource =
new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME){
--> EchoResponse is not abstract and does not override serialize method in ADBDataSource.

4) public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName) --> getPullParser in EchoStub.EchoResponse cannot implement getPullParser
14 years ago
I wrote a service and deployed it in axis2.war. I later wrote the client code. As I am running the client code it showing the SOAP request as null and by default SOAP response object is also turning to be null. The only reason I could think of is the service class is in a different package so, I was doubting if I need to give the package name in the path as below:
"http://localhost:8080/axis2/services/MyService"
As it is in the server package I tried
"http://localhost:8080/axis2/services/server/MyService" --> Still no positive result


The output I am getting is

14 years ago
I am using netbeans 6.8. If want to create a project of type Axis2 services from java, which was existing earlier. I am not finding it now. Can anyone guide me.

If not available how should I develop an axis2 to develop a service. I am using netbeans and glassfish. I need to develop an echo.aar and merge it with the axis2.war file. to write the java code for the service I need to develop project of type axis2. If not required please help me how to do. I am following the url below
http://netbeans.org/kb/61/websvc/gs-axis.html#deploy_axis
14 years ago
My servlet xml file is as below

14 years ago
While I was trying to generate it is throwing an exception. I am pasting the exception below


I tried attaching diffferent jars, but no use. Could anyone help me out of this as this is holding my advancement
14 years ago
My xsd has been placed in WEB-INF
14 years ago
Just rectifying the above scentence

Everywhere it is mentioned that it should be same namespace mentioned in xsd.

14 years ago
I am new to spring-ws. The following are the steps I know to do a wen services in spring
Part A
=====
1. Write an XSD --> Done
2. Write an interface --> Done
3. Write an implementation --> Done

Part B(Spring-WS stuff)
================
4. Write the web.xml --> Done
5. Write the SPring bean configuration XML file -->>>>FAILED. The problem I am facing here is as below.


I am getting error at the following line of key for the property is set


<props>
<prop key="{http://www.averconsulting.com/echo/schemas}EchoRequest" //--> I am getting //error at this line
>echoEndpoint</prop>
</props>



Which ever site I visit they are saying that it should be same as the namespace. For a sample echo example which is existing on the net I can give this namespace mentioned by them. How about if I have a totally different schema for a different project. I am using Netbeans and Glassfish as server.
14 years ago
I tried session earlier. If I type session, I am getting error there.
I will paste my code below could you please make the changes. I will be thankful to you.
1. jspone


2. JSPTwo


3. ServletOne



4. ServletTwo
14 years ago
JSP
I have an issue:
I jave two jsp's jspone and jsptwo and two servlets Servone and Servtwo.
Steps I am supposed to do:
1. Enter data in jspone
2. Click on Submit to ServletOne(using <Form> tag)
3. Collect the values in servlet one and set the values to ValueObjectOne.
4. Set CaluObjectOne to request object.
5. Using RequestDispatcher(request.getRequestDispatcher()) forward to jsptwo.
6. Declare <%@Usebean ...%> in jsptwo
7. Enter the values in jsptwo and submit the form
8. Use ServletTwo and collect ValueObjectOne and ValueObjectTwo(Generated from jsptwo) --> //Here I am failing. I am getting both the
//valueObjects as null
14 years ago
JSP