Skip to Content
avatar image
Former Member

Error in proxy generation(?)

Hello

I have a problem with proxy to my WS. Steps so far:

- imported external service from WSDL

- done Default Mappings - new Application Service created

- tried to expose this AS as WS

But build is impossible due to following error:

in line: protected pl.company.MG0LSCallByNameMG0HW __proxy0;

error: pl.company.MG0LSCallByNameMG0HW cannot be resolved to a type

It seems that proxy class isn't generated.

Any help will be apprecated.

Best Regards

Maciej

PS: name of this missing class comes from sender agreement because WSDL was generated from PI

Edited by: Maciej Gottfried on Jul 15, 2009 8:58 AM

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jul 15, 2009 at 08:18 AM

    I've found the solution. Steps to correctly generate mapping:

    -import External Service

    - save it

    - generate it

    Then you can do Default Mapping

    - save it

    - generate it

    If executed without those save/generate sequence (ie. import and mapping in one run) there will be no proxy class generated yet and mapping will fail.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 15, 2009 at 11:16 AM

    Unfortunately I still cannot generate this proxy. One time operation succeded, now I'm back in the startpoint.

    It seems, that generator doesn't create correct proxy class - in that succesfull run I got MyServiceDefaultInterface class, which was correct, but now I get only non-existing class named after PI model component.

    Any suggestions?

    Best Regards

    Maciej

    Add comment
    10|10000 characters needed characters exceeded