cancel
Showing results for 
Search instead for 
Did you mean: 

Local part cannot be "null" when creating a QName

Former Member
0 Kudos

Hi there,

I'm calling a web service from a WD Java application.

It always gives me the following error message:

local part cannot be "null" when creating a QName

I've tried to reimport the model, we have restarted the server, but the issue still remains.

What could be the reason for that message?

In the WSNavigator the web service works without problems...

Thanks in advance!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

After a couple of days I've found the solution:

In "NWA->SOA->Application and Scenario communication->Application Communication" I had to unassign the service group for the WD and afterwards I had to assign it again.

Since then it works.

As an ABAP developer I really start hating SAP in combination with Java.

It so damn unstable!!!

After nearly each major deployment I'm facing issues like that...

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

This error is generally associated when using qualified names.

Can you include more details of your code wherein you create a model instance?

Meanwhile you may go through

How are AWS model class names created from WSDL / XML schema type names in AWS model importer? How to resolve name clashes or rename model classes?

section in http://wiki.scn.sap.com/wiki/display/WDJava/FAQ+-+Models+-+Adaptive+Web+Service

Regards,

Archana

Former Member
0 Kudos

Hi Archana,

thanks for your reply.

Does it imply that it's more an issue of implementing the WS call than the web service itself?

The strange thing is that I haven't changed the WD for a while now.

The WS are generated in CAF...

Former Member
0 Kudos

Hi T.Kolz,

Yes, it seems to be an issue with implementing the WS. Also, as you mentioned earlier, the Webservice works fine in Navigator. So, it cannot be an issue with the webservice.

I would suggest to crosscheck the alais, wsdl. Maybe that would help.

Regards,

Archana