客户发过来了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,难道是为了安全吗?
a way to generate wsdl
Stepsto Create Siebel Inbound Web Service:
- Login to Siebel epharma client User Name: SADMIN:Password: SADMIN
- Click on Web Services Administration Screen Tab
- Now click on Inbound Web Services View Tab
- Create a New Record in Inbound Web Services List Applet
- In Namespace write “http://siebel.com/asi/”
- In Name write “Directutor Contact”
- Make status as “Active”
- Comment is not a mandatory field. You can write any meaningful comment for your reference.
- Create a New record in Service Ports List Applet.
- In Name write “Directutor Contact”
- In Type click on the Glyph.
- From Pick Applet select “Siebel Contact”
- Then Type will come as “Business Service” in Service Ports List Applet.
- Now Select “HTTP” as Transport medium.
- Select Binding as “SOAP_DOC_LITERAL”
- In Address write the following string
http://dtsiebsrv1/eai_enu/start.swe?SWEExtSource=WebService&SWEExtCmd=Execute&UserName=SADMIN&Password=SADMIN
- Now in the Operations List Applet Add methods.
- From the Pick Applet Select methods like “Insert”, “Update”, “Delete” etc.
- Make the Authentication Type as “None”
- Now click the “Clear Cache” tab 2-3 times.
- Finally click on the “Generate WSDL” button to generate the WSDL file & save the file with .wsdl extension.

本文讨论了在使用WSDL文件时遇到的问题,包括配置soapUI、FlexBuild、跨域策略设置以及Siebel产生的endpoint。重点解决了WSDL文件在不同环境下的正确配置和请求发送方法。
1180

被折叠的 条评论
为什么被折叠?



