Home > Tech stuff > java2wsdl p2n

java2wsdl p2n

Real headache –

sh /axis2-1.4/bin/java2wsdl.sh -o . -of junks.wsdl -sn ILoveJunkServiceImpl -st DOCUMENT -u LITERAL -p2n [all,http://junks.com%5D -cn com.junks.JunkInterface

When you give p2n.. make sure there is no space between ‘,’ and ‘http’. Else you would end up with this error –

An error occured while generating codeString index out of range: -1

Categories: Tech stuff
  1. No comments yet.
  1. No trackbacks yet.

Leave a comment