Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-306

STS WSDL can not be used with JAX WS wsimport tool

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: Snapshot9.5
    • Fix Version/s: None
    • Component/s: web services security
    • Labels:
      None
    • Environment:
      All
    • Rank:
      1|hzlurr:

      Description

      I am trying to write an OpenSSO STS SOAP client using OpenSSO STS' provided WSDL at
      http://localhost:8080/opensso/sts?WSDL

      This WSDL file is not accepted by Java SE 6's wsimport command :

      [ERROR] Invalid wsdl:operation "IssueToken": its a document-literal operation, message part must refer to a schema element declaration
      line 133 of http://opensso.sun.com:8080/openam/sts?WSDL

      When using wsimport's -extension option, I receive many warnings

      [WARNING] SOAP port "ISecurityTokenService_Port": uses a non-standard SOAP 1.2 binding.
      line 169 of http://opensso.sun.com:8080/openam/sts?WSDL

      [WARNING] ignoring operation "IssueToken": message part does not refer to a schema element declaration
      line 133 of http://opensso.sun.com:8080/openam/sts?WSDL

      [WARNING] Port "ISecurityTokenService_Port" does not contain any usable operations
      line 169 of http://opensso.sun.com:8080/openam/sts?WSDL

      [WARNING] ignoring operation "IssueToken": message part does not refer to a schema element declaration
      line 133 of http://opensso.sun.com:8080/openam/sts?WSDL

      [WARNING] Port "ISecurityTokenService_PortSoap11" does not contain any usable operations
      line 172 of http://opensso.sun.com:8080/openam/sts?WSDL

      [WARNING] Service "SecurityTokenService" does not contain any usable ports. try running wsimport with -extension switch.
      line 168 of http://opensso.sun.com:8080/openam/sts?WSDL

      And the generated classes do not contain any valid operation.

        Attachments

          Activity

            People

            Assignee:
            dhogan Dirk Hogan
            Reporter:
            sebsto sebsto
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: