cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-1613) Microsoft Reporting Services Requests support
Date Thu, 29 May 2008 16:41:46 GMT

    [ https://issues.apache.org/jira/browse/CXF-1613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12600828#action_12600828
] 

Daniel Kulp commented on CXF-1613:
----------------------------------


I would need to see the wsdl/schema for this.   The patch is definitely not correct as the
ElementQName  is always the fully qualified qname, but the ConcreteName is what is expected
according to the schema.  Basically, it looks like CXF is expecting the request to have unqualified
schemas (elementFormDefault=unqualified), but SSRS is generating it qualified.   Again, I'd
need to see the wsdl to figure out which is correct.







> Microsoft Reporting Services Requests support
> ---------------------------------------------
>
>                 Key: CXF-1613
>                 URL: https://issues.apache.org/jira/browse/CXF-1613
>             Project: CXF
>          Issue Type: Improvement
>          Components: Soap Binding
>    Affects Versions: 2.0.6
>         Environment: Windows XP Pro, MS SQL Server 2005, Apache CXF 2.0.5
>            Reporter: Sergey Pulyaev
>            Priority: Minor
>         Attachments: DocLiteralInInterceptor.diff
>
>
> http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=3399523&SiteID=1
> Hello,
> I am using MS Sql Server Reporting Services with web services written in java.
> Here is my query:
> Code Snippet
> <Query>
>   <Method Namespace="http://test.com/" Name="getLoggedActivity">
>   <Parameters>
>     <Parameter Name="userID" Type="Integer" />
> </Parameters>
> </Method>
>    <SoapAction>http://test.com/getLoggedActivity</SoapAction>
>        <ElementPath IgnoreNamespaces="true">
>              getLoggedActivityResponse{}/return{Date(Date),Purchaser}
>        </ElementPath>
> </Query>
> SSRS produces following request:
> Code Snippet
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>   <soap:Body>
>     <getLoggedActivity xmlns="http://ws.test.com/">
>       <userId>1</userId>
>     </getLoggedActivity>
>   </soap:Body>
> </soap:Envelope>
> But CXF waiting for the following request:
> Code Snippet
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.test.com/">
>    <soap:Body>
>       <ws:getLoggedActivity>
>          <userId>1</userId>
>       </ws:getLoggedActivity>
>    </soap:Body>
> </soap:Envelope>
> In other words - in request from SQL reporting services attributes of method call obtains
namespaces "http://ws.test.com/"  instead of empty one - and do not found by DocLiteralInInterceptor
to apply as parameters of method call.
> I made a patch to support this situation.
> Best regards, Sergey

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message