加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

flex webservice与wsdl

发布时间:2020-12-15 05:15:04 所属栏目:百科 来源:网络整理
导读:一般wsdl提供的URL http://www.webxml.com.cn/WebServices/WeatherWebService.asmx?wsdl 客户发过来了wsdl文件,没有具体的******?wsdl 在soapUI中分析出endpoint,set url=endpoint,请求发送不了。 经过尝试,url还应该是本地的客户过来的wsdl文件,这样请求
一般wsdl提供的URL http://www.webxml.com.cn/WebServices/WeatherWebService.asmx?wsdl
客户发过来了wsdl文件,没有具体的******?wsdl
在soapUI中分析出endpoint,set url=endpoint,请求发送不了。
经过尝试,url还应该是本地的客户过来的wsdl文件,这样请求可以发送了。
在as中注意webService.wsdl=url,请求也发送不了,必须加上webService.loadWSDL()

或者webService.loadWSDL(url)

还有endpointURL用于url redirect


wsdl文件 在flexBuild中通过import,生产input/output的as文件

crossdomain 要加上allow-http-request-headers-from,不然还是有权限问题 

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM
"http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">

<cross-domain-policy>
<site-control permitted-cross-domain-policies="all"/>
<allow-access-from domain="*"/>
<allow-http-request-headers-from domain="*" headers="*"/>
</cross-domain-policy>

在flex中,在传参返回值不需要request/response类,开始我就犯了这样的错误


siebel产生endpoint,这是很奇怪的,无法看到wsdl,难道是为了安全吗?

http://eqcmswebdv01.nam.nsroot.net/eai_enu/start.swe?SWEExtSource=CustomUI&SWEExtCmd=Execute&UserName=SADMIN&Password=SADMIN

a way to generate wsdl

Stepsto Create Siebel Inbound Web Service:

?

  1. Login to Siebel epharma client??? User Name: SADMIN:Password: SADMIN
???????? go to Site Map
  1. Click on Web Services Administration Screen Tab
  2. Now click on Inbound Web Services View Tab
  3. Create a New Record in Inbound Web Services List Applet
  4. In Namespace write “http://siebel.com/asi/”
  5. In Name write “Directutor Contact”
  6. Make status as “Active”
  7. Comment is not a mandatory field. You can write any meaningful comment for your reference.
  8. Create a New record in Service Ports List Applet.
  9. In Name write “Directutor Contact”
  10. In Type click on the Glyph.
  11. From Pick Applet select “Siebel Contact”
  12. Then Type will come as “Business Service” in Service Ports List Applet.
  13. Now Select “HTTP” as Transport medium.
  14. Select Binding as “SOAP_DOC_LITERAL”
  15. In Address write the following string

?????????????????? http://dtsiebsrv1/eai_enu/start.swe?SWEExtSource=WebService&SWEExtCmd=Execute&UserName=SADMIN&Password=SADMIN

  1. Now in the Operations List Applet Add methods.
  2. From the Pick Applet Select methods like “Insert”,“Update”,“Delete” etc.
  3. Make the Authentication Type as “None”
  4. Now click the “Clear Cache” tab 2-3 times.
  5. Finally click on the “Generate WSDL” button to generate the WSDL file & save the file with .wsdl extension.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读