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
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
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
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.
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
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