cancel
Showing results for 
Search instead for 
Did you mean: 

error when using byte array in web service model interface

Former Member
0 Kudos

Hello everybody,

I'm using a web service model in my web dynpro application. The web service requires a byte array as import parameter.

When starting the web dynpro application the following error occurs:

com.sap.tc.webdynpro.services.exceptions.WDTypeNotFoundException: type java:byte not found

at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getDataType(DataTypeBroker.java:216)

I'm using byte arrays several times in my application --> no problem. So why does the error say "byte not found" when using the web service?

Thanks for your help!

regards

Christian

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

maybe this is the problem. The type is byte and not binary.

But I have the same problem as mentioned in the other thread: I can't change the type.

The type in the WSDL of my web service is "base64binary". Is there maybe a possibility to import a jar-file for this type?

Christian

0 Kudos

Hi Chirstian,

Can you please attach the WSDL, or paste it in the post.

Thanks, Vladimir

Former Member
0 Kudos

Hi Anilkumar,

no, I'm using simple Web Service model.

When changing the import parameter to String it works fine. The error only occurs when using byte arrays in the interface. Any other idea?

Thanks.

Former Member
0 Kudos

Hi,

Check this thread and try to change return type to binary as suggested.

Regards, ANilkumar

Former Member
0 Kudos

Hi Christian ,

Are you using Adpative Webservice Model ??

Is so create the destionations in the VisualAdministrator.

Regards, ANilkumar