---
title: "Myeclipse校验wsdl文件不通过WS-I:(BP2406)处理办法"
author: "qingzuochen"
date: "2010-05-07T17:12:57Z"
tags: []
categories: ["编程语言"]
slug: "myeclipse-wsdl-ws-i-bp2406"
draft: false
lastmod: "2010-05-07T17:12:57Z"
id: 661403
url: "https://zochen.iteye.com/blog/661403"
---

具体信息：

WS-I: (BP2406) The use attribute of a soapbind:body, soapbind:fault, soapbind:header, and soapbind:headerfault does not have the value of "literal".


服务端是AXIS方式。

解决办法：
new->Other->勾选Show All Wizardz->弹出的提示框点“OK”->接着选Web Service下的Web Service Client ->选WSDL文件 
如果是文件方式而不是URL方式的话，先吧文件拷到工程里边，然后就能被识别出来，供以选择。
->OK->Finish。


实践得出：
Myeclipse-Web Service下的是XFire方式。
Web Service下的是 AXIS方式。