Creating proxies for WCF service in Java and PHP Duplicate message error

I get the following output error when trying to generate a proxy for the WCF service using both PHP and Java:

with Java I use wsimport with Jaxws and JaxB with PHP I use wsdl2php

The error I am getting is the following:

[ERROR] duplicates the message object: "IWcfRequestProcessor_ProcessRequests_InputMessage line 1 http: //xxxxxxxxxxxxxxxxxxxxxxxxxxxx/Service.svc? Wsdl

The only message objects inside wsdl are:

  <wsdl:message name="IWcfRequestProcessor_ProcessRequests_InputMessage">
    <wsdl:part name="parameters" element="tns:ProcessRequests"/>
  </wsdl:message>
  <wsdl:message name="IWcfRequestProcessor_ProcessRequests_OutputMessage">
    <wsdl:part name="parameters" element="tns:ProcessRequestsResponse"/>
  </wsdl:message>
  <wsdl:message name="IWcfRequestProcessor_ProcessOneWayRequests_InputMessage">
    <wsdl:part name="parameters" element="tns:ProcessOneWayRequests"/>
  </wsdl:message>

So you can see that there are no duplicates, so I don’t understand why this error occurs.

Any help is appreciated:

Andrew

+3
source share
2

(Full Qualified Domain Name). , svc . , 127.0.0.1/MyService.svc, D4testtest.mynetwork.com/MyService.svc.

, , -, , wsdl, , .

,

+4

import, . .

0

Source: https://habr.com/ru/post/1752802/


All Articles