Quantcast
Channel: SCN: Message List - ABAP Connectivity
Viewing all articles
Browse latest Browse all 3125

Function builder generates incopmlete WSDL's?

$
0
0

Hello everyone,

 

I recently tried to create a basic Hello World web service (through the Function Builder), and turn it into a WSDL. Then using (Java) wsimport function turning it into java files.

 

The finction looks like this:

 

FUNCTION ZWEBSERVICE1.

write: / 'hello world'.
ENDFUNCTION.

 

 

The first problem I encountered is while executing wsimport. I got a error that states that wsdl:service is not in the file. After googling a while, I found no discussions/solutions to that problem. So I just wrote:


  <wsdl:service name="ZWEBSERVICE1">

  </wsdl:service>

 

into the file, and executed wsimport  again, and got my java and class files.

 

 

 

The next problem I encountered is that the ZWEBSERVICE1.java class is somewhat empty... It looks like this:

 

...

public class ZWEBSERVICE1 {

 

 

}


...  so now I am at my wits end, and hope that someone can give me some insight in what I did wrong.


Viewing all articles
Browse latest Browse all 3125

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>