2013-07-02 3 views
0
내가 구문 분석하려고 해요

Aramex shipping services WSDL (출하량을 만드는 데 필요한되는), 네임 스페이스 오류는 다음과 같은 오류 로그 발생 :오류 Aramex에서의 WSDL 파일을 구문 분석에

C:\Program Files\Java\jdk1.6.0_37\bin>wsimport.exe -keep -verbose D:\ATG\aramex\shipping-services-api-wsdl\shipping-services-api-wsdl.wsdl -d D:\ATG\aramex\java\ 
parsing WSDL... 

[WARNING] src-resolve.4.2: Error resolving component 'ser:guid'. It was detected that 'ser:guid' is in namespace 'http://schemas.microsoft.com/2003/10/Serialization/', but components from this namespace are not referenceable from schema document 'file:/D:/ATG/aramex/shipping-services-api-wsdl/shipping-services-api-wsdl.wsdl#types?schema1'. If this is the incorrect namespace, perhaps the prefix of 'ser:guid' 
needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'file:/D:/ATG/aramex/shipping-services-api-wsdl/shipping-services-api-wsdl.wsdl#types?schema1'. 
    line 331 of file:/D:/ATG/aramex/shipping-services-api-wsdl/shipping-services-api-wsdl.wsdl#types?schema1 

[ERROR] Two declarations cause a collision in the ObjectFactory class. 
    line 126 of file:/D:/ATG/aramex/shipping-services-api-wsdl/shipping-services-api-wsdl.wsdl 

[ERROR] (Related to above error) This is the other declaration. 
    line 57 of file:/D:/ATG/aramex/shipping-services-api-wsdl/shipping-services-api-wsdl.wsdl 

나는 제거 할 수 방법 오류?

+0

을 wsdl에 추가하여 경고를 해결할 수있었습니다. 그러나 충돌은 여전히 ​​존재합니다. – pathum83

답변

0

나는 그것을 해결했다. 하나의 선언을 변경 한 다음 선언을 변경했습니다.