Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Round 2 - InteropTestR2Base  RSS feed

mahesh nangare
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all
I am trying to develope java client for Round 2- InteropTestR2Base wsdl.
I am using apache axix 1.0 version.
I am geting
Unrecognized SOAPAction HTTP header: "". expetion.
I guess there is some mismatch in namespace in following code.

javax.xml.namespace.QName p0QName = new javax.xml.namespace.QName("", "inputString");
call.addParameter(p0QName, new javax.xml.namespace.QName("", "string"), java.lang.String.class, javax.xml.rpc.ParameterMode.IN);
call.setReturnType(new javax.xml.namespace.QName("", "string"));
//call.setOperationName(new javax.xml.namespace.QName("", "echoString"));
call.setOperationName(new javax.xml.namespace.QName("", "echoString"));
Object outputString =call.invoke(new Object [] {new String("msn")});
System.out.println("Result : " + outputString);


does anyone know where could be problem in this code
thanks in advance
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!