On Friday 14 of October 2005 14:55, URBAN Leos wrote:
> Nainstaloval jsem Sun Java Application Server 8.1 PE a s nim to funguje.
> Takze problem bude spis nekde u JBOSSu nebo vzajemne kompatibilite.
>
> WSDL vygenerovane SUN AS:
>
> <?xml version="1.0" encoding="UTF-8"?><definitions
> xmlns="http://schemas.xmlsoap.org/wsdl/";
> xmlns:tns="urn:PhoneDirectory/wsdl"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> xmlns:ns2="urn:PhoneDirectory/types"
> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; name="PhoneDirectory"
> targetNamespace="urn:PhoneDirectory/wsdl">
>    <types>
>      <schema xmlns="http://www.w3.org/2001/XMLSchema";
> xmlns:tns="urn:PhoneDirectory/types"
> xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
> targetNamespace="urn:PhoneDirectory/types">
>        <complexType name="getVersion">
>          <sequence/></complexType>
>        <complexType name="getVersionResponse">
>          <sequence>
>            <element name="result" type="string"
> nillable="true"/></sequence></complexType>
>        <element name="getVersion" type="tns:getVersion"/>
>        <element name="getVersionResponse"
> type="tns:getVersionResponse"/></schema></types>
>    <message name="PhoneDirectorySEI_getVersion">
>      <part name="parameters" element="ns2:getVersion"/></message>
>    <message name="PhoneDirectorySEI_getVersionResponse">
>      <part name="result" element="ns2:getVersionResponse"/></message>
>    <portType name="PhoneDirectorySEI">
>      <operation name="getVersion">
>        <input message="tns:PhoneDirectorySEI_getVersion"/>
>        <output
> message="tns:PhoneDirectorySEI_getVersionResponse"/></operation></portType>
>    <binding name="PhoneDirectorySEIBinding" type="tns:PhoneDirectorySEI">
>      <soap:binding transport="http://schemas.xmlsoap.org/soap/http";
> style="document"/>
>      <operation name="getVersion">
>        <soap:operation soapAction=""/>
>        <input>
>          <soap:body use="literal"/></input>
>        <output>
>          <soap:body use="literal"/></output></operation></binding>
>    <service name="PhoneDirectory">
>      <port name="PhoneDirectorySEIPort"
> binding="tns:PhoneDirectorySEIBinding">
> <soap:address
> location="http://localhost:8080/FirstWebService/PhoneDirectory";
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"/>
> </port>
> </service>
> </definitions>
>
> JBOSS se od toho lisi absenci
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; u soap:address a pouzitim
> jine adresy (misto localhost vzal jmeno pocitace).

To by nemel byt problem: je to jenom nepouzity namespace a pokud se jmeno 
hostu shoduje...

Jinak to WSDL vypada na prvni i druhy pohled dobre.

Navic to WSDL2Java kompilator z WASPu v pohode naimportoval a vygeneroval to, 
co bych ocekaval, tedy

/**

 */
public interface PhoneDirectorySEI {

    /**

     */
    java.lang.String getVersion();

    /**
     * Asynchronous 'begin' version of operation getVersion
     */
    org.systinet.wasp.async.AsyncConversation beginGetVersion();

    /**
     * Asynchronous 'end' version of operation getVersion
     */
    java.lang.String endGetVersion(org.systinet.wasp.async.AsyncConversation 
conversation);

}

/*
 * Generated by Systinet WSDL2Java
 * http://www.systinet.com
 */

> Nastaveni projektu / WSCOMPILE (default) u webove aplikace je:
> useonewayoperations, documentliteral, strict
>
> Nastaveni projektu / WSCOMPILE (default) u klienta je:
> wsi,strict

No, tak tady by mohl byt problem. doclit neni WS-I compliant, je treba 
nastavit bud wsi nebo wrapped/literal na serveru nebo doclit na klientovi.
-- 
Oto 'tapik' Buchta, [EMAIL PROTECTED]
Senior Engineer, Systinet Corp,
http://www.systinet.com

Odpovedet emailem