OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

wsrp-interop message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [wsrp-interop] BEA's producer/consumer now online


Thanks everyone for your response.  Just to clarify, yes, I was trying to forward the name/value pairs in multipart headers.  I'm using Orielly's MultipartParser api.  This api parses the multipart http headers and omits some params, such as creation-date etc, and for "filename" and "name" params in FilePart, it doesn't give you the original pair, but provides getFilePath and getName methods.  That's the reason I have to hardcode "filename" in order to preserve the original pair.  As a summer intern, I'm not brave enough to invent my own way yet.  =)

Anyways, my request saves all the parameters now, but I'm still getting the same npe.  

Subbu, see if this trace can help us identify the problem.  Based on rfc1867, for multiparts that do not contain a content-type, I'm sending text/plain mimetype.  Thanks for noticing the problem of my filedata encoding.  Yes, I was calling a wrong encoding method.

Thanks,
Eric

-----Original Message-----
From: Subbu Allamaraju [mailto:subbu@bea.com]
Sent: Tuesday, September 09, 2003 8:58 AM
To: wsrp-interop@lists.oasis-open.org
Subject: Re: [wsrp-interop] BEA's producer/consumer now online


Our interpretation is that mimeAttributes are the MIME headers, and 
since the request does not have these headers, the producer is probably 
getting the NPE. We're looking into the NPE.

Eric,

I also noticed that the data you're sending looks like plain text and 
not base64 encoded.

Regards,

Subbu


Rich Thompson wrote:
> 
> What would this mean on a SOAP message? The mimeAttributes array was 
> introduced as an unambiguous way to get the mime data to the Producer.
> 
> Rich
> 
> 
> *David Ward <david.ward@oracle.com>*
> 
> 09/09/2003 06:51 AM
> 
> 	
> To
> 	Andre Kramer <andre.kramer@eu.citrix.com>
> cc
> 	"'Eric Xu'" <Eric.Xu@plumtree.com>, Subbu Allamaraju <subbu@bea.com>, 
> wsrp-interop@lists.oasis-open.org
> Subject
> 	Re: [wsrp-interop] BEA's producer/consumer now online
> 
> 
> 	
> 
> 
> 
> 
> 
> I had assumed clients would just forward all the original headers from 
> the multipart mime message intact. Why invent a new way of carrying the 
> filename?
> 
> David
> 
> Andre Kramer wrote:
> 
> I'm also using a mime attribute to carry the filename.
> 
> regards,
> Andre
> 
> -----Original Message-----
> From: Eric Xu [_mailto:Eric.Xu@plumtree.com_]
> Sent: 09 September 2003 02:29
> To: Subbu Allamaraju; Andre Kramer; _wsrp-interop@lists.oasis-open.org_ 
> <mailto:wsrp-interop@lists.oasis-open.org>
> Subject: RE: [wsrp-interop] BEA's producer/consumer now online
> 
> Hi, Subbu and all,
>        This is regarding to the file upload portlet and the 
> uploadContext structure.  I'm getting the same error as Andre's. 
>  However, my soap request is a bit different.  I didn't find a good 
> place in the UploadContext structure to put fileName.  In my request, I 
> just had NamedString("filename", fileName) as one of the MimeAttributes, 
> where "filename" is a constant.  I put "filename" there, since this is 
> how it appears in http header.  I'm not sure if this is the correct way 
> of doing it as the spec doesn't mention this.  How is everyone handling 
> this issue?
> 
>         Attached is my request, the response is a NullPointerException.
> 
> Thanks,
> Eric
> 
> -----Original Message-----
> From: Subbu Allamaraju [_mailto:subbu@bea.com_]
> Sent: Tuesday, September 02, 2003 9:06 AM
> To: Andre Kramer; _wsrp-interop@lists.oasis-open.org_ 
> <mailto:wsrp-interop@lists.oasis-open.org>
> Subject: Re: [wsrp-interop] BEA's producer/consumer now online
> 
> Andre,
> 
> Thanks for the test results. The portlet description as well as the
> fault type returned by our producer are wrong. I'm also looking into the
> failure with upload.
> 
> Regards,
> 
> Subbu
> 
> Andre Kramer wrote:
>  > I've now been able to test against BEA's producer and am able to report
>  > that the portlets are displaying and interacting with our consumer (see
>  > below for some issues and observations).
>  >
>  > I've also placed one portlet from each producer on a test Web page:
>  >
>  > _http://andrek.dyndns.org/NETlets/Page.aspx?page=multi_
>  >
>  > [This page takes some time in loading due to 4 *
>  > getServiceDescription/register/getSD/initCookie/getMarkup (on each
>  > initial load, as I have our db turned off when our prototype is on the
>  > Internet). The Oracle portlet still has connectivity problems and I've
>  > used the Citrix graph portlet rather than Oracle's on the principle that
>  > it does not use cookies ;-)]
>  >
>  > I saw two SOAP faults testing with the BEA portlets:
>  >
>  >         - Switching the helloWorldPortlet to edit and help mode (see
>  > attached trace 1)
>  >         - Uploading a file to multipartRequest1 (see attached trace 2)
>  >
>  > I was unable to get the login and create account portlets to work
>  > together (i.e. could not log in after creating an acount). The title of
>  > the loginPortlet is "Create a User Account" so maybe this is work in
>  > progress?
>  >
>  > I was unable to fully test the secure portlet (no secure bindings in the
>  > service wsdl) but noticed that the secure resource image did not display
>  > as the cert was not verifiable my end (also, the gif urls end in a ?).
>  >
>  > regards,
>  > Andre
>  >
>  > -----Original Message-----
>  > From: Subbu Allamaraju [_mailto:subbu@bea.com_]
>  > Sent: 11 August 2003 22:12
>  > To: _wsrp-interop@lists.oasis-open.org_ 
> <mailto:wsrp-interop@lists.oasis-open.org>
>  > Cc: William Cox
>  > Subject: [wsrp-interop] BEA's producer/consumer now online
>  >
>  >
>  >
>  > BEA's WSRP producer and consumer are now available online for interop
>  > testing.
>  >
>  > WSDL:
>  > 
> _http://wsrp.avitek.com:7001/producer/wsdl/wlp_wsrp_v1_markup_service.wsdl_
>  >
>  > Producer:
>  >
>  > The portlets for this producer are hosted in
>  > _http://wsrp.avitek.com:7001/producer_, and can be invoked directly
>  > (without a portal) for testing purposes. Please refer to
>  > _http://wsrp.avitek.com:7001/producer/index.jsp_ for the list of 
> portlets
>  > currently deployed. You can follow the hyperlinks to test those
>  > portlets.
>  >
>  > Please note that this producer does not support registration and portlet
>  > management ports.
>  >
>  > Consumer:
>  >
>  > A read-only consumer is hosted at
>  > _http://wsrp.avitek.com:8001/consumer/portal.portal_. This consumer
>  > includes pages that include portlets from BEA's and IBM's producers.
>  >
>  > Please let me know if you're able to use these producers successfully.
>  > If you have a producer online, we'll be happy to include those portlets
>  > in our test consumer.
>  >
>  > We'll try to keep these servers online to the extent possible (except
>  > during updates).
>  >
>  > Regards,
>  >
>  > Subbu
>  >
>  >
>  >
>  >
>  > You may leave a Technical Committee at any time by visiting
>  > 
> _http://www.oasis-open.org/apps/org/workgroup/wsrp-interop/members/leave_workgroup.php_ 
> 
>  >
>  >  
>  >
>  > ------------------------------------------------------------------------
>  >
>  > Subject:
>  > bea trace 1
>  > From:
>  > Andre Kramer _<andre.kramer@eu.citrix.com>_ 
> <mailto:andre.kramer@eu.citrix.com>
>  > Date:
>  > Fri, 29 Aug 2003 11:46:49 +0100
>  > To:
>  > Andre Kramer _<andre.kramer@eu.citrix.com>_ 
> <mailto:andre.kramer@eu.citrix.com>
>  >
>  >
>  >
>  > request: getMarkup with edit:
>  >
>  > User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client
>  > Protocol 1.1.4322.573) Content-Type: text/xml; charset=utf-8 SOAPAction:
>  > "urn:oasis:names:tc:wsrp:v1:getMarkup" Content-Length: 1781 Expect:
>  > 100-continue Host: localhost:9090 Cookie:
>  > 
> JSESSIONID=1Pve49VcO1BBV3clAHSiWGpyqqUDZJDgmPoTW9WWvK11l4g78NsR!1079735209  
>  > <?xml version="1.0" encoding="utf-8"?><soap:Envelope
>  > xmlns:soap="_http://schemas.xmlsoap.org/soap/envelope/_";
>  > xmlns:xsi="_http://www.w3.org/2001/XMLSchema-instance_";
>  > xmlns:xsd="_http://www.w3.org/2001/XMLSchema_";
>  > xmlns:wsa="_http://schemas.xmlsoap.org/ws/2003/03/addressing_";
>  > 
> xmlns:wsu="_http://schemas.xmlsoap.org/ws/2002/07/utility_";><soap:Header><wsa:Action>urn:oasis:names:tc:wsrp:v1:getMarkup</wsa:Action><wsa:From><wsa:Address>_http://schemas.xmlsoap.org/ws/2003/03/addressing/role/anonymous_</wsa:Address></wsa:From><wsa:MessageID>uuid:b6a56dd7-1661-434a-a40b-e3877cb3aedb</wsa:MessageID><wsa:To>_http://knowth:8080/WSRPService_</wsa:To><wsu:Timestamp><wsu:Created>2003-08-29T10:40:30Z</wsu:Created><wsu:Expires>2003-08-29T10:45:30Z</wsu:Expires></wsu:Ti! 
> mestamp></soap:Header><soap:Body><getMarkup
> 
>  > xmlns="urn:oasis:names:tc:wsrp:v1:types"><registrationContext
>  > xsi:nil="true"
>  > 
> /><portletContext><portletHandle>helloWorldPortlet</portletHandle></portletContext><runtimeContext><userAuthentication>wsrp:password</userAuthentication><portletInstanceKey>3F4aJF%2bSFnjQQw5xTiwuyKNgl7w%3d</portletInstanceKey><namespacePrefix>netlet0</namespacePrefix><sessionID>1Pve49VcO1BBV3clAHSiWGpyqqUDZJDgmPoTW9WWvK11l4g78NsR!1079735209</sessionID></runtimeContext><userContext><userContextKey>12345</userContextKey></userContext><markupParams><secureClientCommunication>false</secureClientCommunication><locales>en</locales><locales>de</locales><mimeTypes>text/html</mimeTypes><mode>wsrp:edit</mode><windowState>wsrp:normal</windowState><clientData><userAgent>Mozilla/4.0 
> 
> 
>  > (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR
>  > 
> 1.1.4322)</userAgent></clientData><markupCharacterSets>UTF-8</markupCharacterSets><markupCharacterSets>UTF-16</markupCharacterSets></markupParams></getMarkup></soap:Body></soap:Envelope> 
> 
> 
>  >
>  > response from helloWorldPortlet when getMarkup with edit:
>  >
>  >
>  > HTTP/1.1 200 OK Date: Fri, 29 Aug 2003 10:47:18 GMT Server: WebLogic
>  > Server 8.1 SP1 Fri Jun 20 23:06:40 PDT 2003 271009 with Content-Length:
>  > 2546 Content-Type: text/xml; charset=UTF-8  <?xml version="1.0"
>  > encoding="UTF-8"?>
>  >
>  > <soapenv:Envelope
>  > 
> xmlns:soapenv="_http://schemas.xmlsoap.org/soap/envelope/_";><soapenv:Body><soapenv:Fault 
> 
>  > 
> xmlns:urn="urn:oasis:names:tc:wsrp:v1:types"><faultcode>urn:OperationFailed</faultcode><faultstring 
> 
>  > xsi:nil="true"
>  > 
> xmlns:xsi="_http://www.w3.org/2001/XMLSchema-instance_"/><detail><detail>com.bea.wsrp.faults.OperationFailedException 
> 
>  >
>  >         at
>  > 
> com.bea.wsrp.producer.adapter.pageflow.PageflowPortletContainer.getMarkup(PageflowPortletContainer.java:209) 
> 
>  >
>  >         at
>  > 
> com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.doGetMarkup(MarkupServiceHandler.java:250) 
> 
>  >
>  >         at
>  > 
> com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.doService(MarkupServiceHandler.java:166) 
> 
>  >
>  >         at 
> com.bea.wsrp.producer.WsrpServer.doService(WsrpServer.java:301)
>  >         at
>  > com.bea.wsrp.producer.WsrpServer.internalService(WsrpServer.java:222)
>  >         at com.bea.wsrp.producer.WsrpServer.doPost(WsrpServer.java:209)
>  >         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
>  >         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  >         at
>  > 
> weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053) 
> 
>  >
>  >         at
>  > 
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387) 
> 
>  >
>  >         at
>  > weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
>  >         at
>  > 
> weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
>  >         at
>  > 
> com.bea.wsrp.producer.adapter.pageflow.WsrpPageflowFilter.doFilter(WsrpPageflowFilter.java:73) 
> 
>  >
>  >         at
>  > 
> weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
>  >         at
>  > 
> weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6316) 
> 
>  >
>  >         at
>  > 
> weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317) 
> 
>  >
>  >         at
>  > 
> weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
>  >         at
>  > 
> weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3622) 
> 
>  >
>  >         at
>  > 
> weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2569) 
> 
>  >
>  >         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
>  >         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
>  > Caused by: java.lang.IllegalStateException: Pageflow invalid:
>  > helloWorld.Controller
>  >         at
>  > 
> com.bea.wsrp.producer.adapter.pageflow.PageflowPortletContainer.invokePageflowRender(PageflowPortletContainer.java:474) 
> 
> 
>  >
>  >         at
>  > 
> com.bea.wsrp.producer.adapter.pageflow.PageflowPortletContainer.getMarkup(PageflowPortletContainer.java:202) 
> 
>  >
>  >         ... 20 more
>  > </detail></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
>  >
>  >
>  > ------------------------------------------------------------------------
>  >
>  > Subject:
>  > bea trace 2
>  > From:
>  > Andre Kramer _<andre.kramer@eu.citrix.com>_ 
> <mailto:andre.kramer@eu.citrix.com>
>  > Date:
>  > Fri, 29 Aug 2003 12:40:15 +0100
>  > To:
>  > Andre Kramer _<andre.kramer@eu.citrix.com>_ 
> <mailto:andre.kramer@eu.citrix.com>
>  >
>  >
>  > request (pbia with uploaddata):
>  >
>  > SOAPAction: "urn:oasis:names:tc:wsrp:v1:performBlockingInteraction"
>  > Content-Length: 4615 Expect: 100-continue Host: localhost:9090 Cookie:
>  > 
> JSESSIONID=1P7qhT0JnLj9Mz0kAqJHzS9oUtBlUMFT1Ykse4RcnCSO89e1xJbe!1079735209  
>  > <?xml version="1.0" encoding="utf-8"?><soap:Envelope
>  > xmlns:soap="_http://schemas.xmlsoap.org/soap/envelope/_";
>  > xmlns:xsi="_http://www.w3.org/2001/XMLSchema-instance_";
>  > xmlns:xsd="_http://www.w3.org/2001/XMLSchema_";
>  > xmlns:wsa="_http://schemas.xmlsoap.org/ws/2003/03/addressing_";
>  > 
> xmlns:wsu="_http://schemas.xmlsoap.org/ws/2002/07/utility_";><soap:Header><wsa:Action>urn:oasis:names:tc:wsrp:v1:performBlockingInteraction</wsa:Action><wsa:From><wsa:Address>_http://schemas.xmlsoap.org/ws/2003/03/addressing/role/anonymous_</wsa:Address></wsa:From><wsa:MessageID>uuid:30cdd411-213f-4d4f-b931-573de9f38eab</wsa:MessageID><wsa:To>_http://knowth:8080/WSRPService_</wsa:To><wsu:Timestamp><wsu:Created>2003-08-29T11:32:52Z</wsu:Created><wsu:Expires>2003-08-29T11:37:52Z</wsu:Expir! 
> es></wsu:Timestamp></soap:Header><soap:Body><performBlockingInteraction
> 
>  > xmlns="urn:oasis:names:tc:wsrp:v1:types"><registrationContext
>  > xsi:nil="true"
>  > 
> /><portletContext><portletHandle>multipartRequest1</portletHandle></portletContext><runtimeContext><userAuthentication>wsrp:password</userAuthentication><portletInstanceKey>P1ZWiWkVV8Iu%2b2ygJG9AJah%2f3j8%3d</portletInstanceKey><namespacePrefix>netlet0</namespacePrefix><sessionID>1P7qhT0JnLj9Mz0kAqJHzS9oUtBlUMFT1Ykse4RcnCSO89e1xJbe!1079735209</sessionID></runtimeContext><userContext><userContextKey>12345</userContextKey></userContext><markupParams><secureClientCommunication>false</secureClientCommunication><locales>en</locales><locales>de</locales><mimeTypes>text/html</mimeTypes><mode>wsrp:view</mode><windowState>wsrp:normal</windowState><clientData><userAgent>Mozilla/4.0 
> 
> 
>  > (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR
>  > 1.1.4322)</userAgent></clientData><navigationalState
>  > 
> /><markupCharacterSets>UTF-8</markupCharacterSets><markupCharacterSets>UTF-16</markupCharacterSets></markupParams><interactionParams><portletStateChange>cloneBeforeWrite</portletStateChange><interactionState>multipartUpload</interactionState><formParameters 
> 
> 
>  > 
> name="P1ZWiWkVV8Iu%2b2ygJG9AJah%2f3j8%3d{actionForm.text1}"><value>test</value></formParameters><formParameters 
> 
>  > name="P1ZWiWkVV8Iu%2b2ygJG9AJah%2f3j8%3d{actionForm.text2}"><value
>  > 
> /></formParameters><uploadContexts><mimeType>text/xml</mimeType><uploadData>PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KCjx3c2RsOmRlZmlua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>  > 
> name="filename"><value>C:\Inetpub\wwwroot\NETlets\services\bea.wsdl</value></mimeAttributes></uploadContexts><uploadContexts><mimeType>application/octet-stream</mimeType><uploadData 
> 
> 
>  > /><mimeAttributes
>  > 
> name="fieldname"><value>P1ZWiWkVV8Iu%2b2ygJG9AJah%2f3j8%3d{actionForm.file2}</value></mimeAttributes></uploadContexts></interactionParams></performBlockingInteraction></soap:Body></soap:Envelope> 
> 
> 
>  >
>  >
>  > soap fault response from pfi:
>  >
>  > HTTP/1.1 200 OK Date: Fri, 29 Aug 2003 11:39:41 GMT Server: WebLogic
>  > Server 8.1 SP1 Fri Jun 20 23:06:40 PDT 2003 271009 with Content-Length:
>  > 396 Content-Type: text/xml; charset=UTF-8  <?xml version="1.0"
>  > encoding="UTF-8"?>
>  >
>  > <soapenv:Envelope
>  > 
> xmlns:soapenv="_http://schemas.xmlsoap.org/soap/envelope/_";><soapenv:Body><soapenv:Fault 
> 
>  > 
> xmlns:soapenv="_http://schemas.xmlsoap.org/soap/envelope/_";><faultcode>soapenv:java.lang.NullPointerException</faultcode><faultstring 
> 
> 
>  > xsi:nil="true"
>  > 
> xmlns:xsi="_http://www.w3.org/2001/XMLSchema-instance_"/></soapenv:Fault></soapenv:Body></soapenv:Envelope> 
> 
>  >
>  >
>  > ------------------------------------------------------------------------
>  >
>  > To unsubscribe from this mailing list (and be removed from the roster 
> of the OASIS TC), go to 
> _http://www.oasis-open.org/apps/org/workgroup/wsrp-interop/members/leave_workgroup.php_. 
> 
> 
> 
> To unsubscribe from this mailing list (and be removed from the roster of 
> the OASIS TC), go to 
> _http://www.oasis-open.org/apps/org/workgroup/wsrp-interop/members/leave_workgroup.php_. 
> 
> 
> 
> -- 
> 
> ------------------------------------------------------------------------
> *David Ward*
> Principal Software Engineer
> Portlet Technologies
> Oracle Portal
> 	Oracle European Development Centre
> 520 Oracle Parkway
> Thames Valley Park
> Reading
> Berkshire RG6 1RA
> UK 	
> *Email:*
> 	_david.ward@oracle.com_ <mailto:david.ward@oracle.com>
> *Tel:*
> 	+44 118 924 5079
> *Fax:*
> 	+44 118 924 5005
> 
> 
> 
> 



To unsubscribe from this mailing list (and be removed from the roster of the OASIS TC), go to http://www.oasis-open.org/apps/org/workgroup/wsrp-interop/members/leave_workgroup.php.

# http request from end-user

POST /wsrpconsumer/pt_action?wsrp-interactionState=multipartUpload HTTP/1.1Host: ericx-w2ks.plumtree.comaccept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, application/x-shockwave-flash, */*referer: http://karma:8080/portal/server.pt?space=MyPage&cached=true&parentname=Gateway&parentid=None&userid=1&control=SetPage&PageID=233content-type: multipart/form-data; boundary=---------------------------7d32712f11028auser-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.0.3705)Via: 1.1 Cookie: JSESSIONID=C13E89F2250C114B3F3BFFBDA71D6E70CSP-Global-Gadget-Pref: portletHandle=multipartRequest1,requiresInitCookie=perUser,WSRPBaseService=http%u003a%u002f%u002fericx%u002dw2ks%u003a3353%u002fproducer%u002fproducer,WSRPServiceDescriptionService=http%u003a%u002f%u002fericx%u002dw2ks%u003a3353%u002fproducer%u002fproducerCSP-Gadget-Realm-User-Pref: portletHandle=multipartRequest1CSP-Gateway-Type: PlumtreeAccept-Language: en-usCSP-Can-Set: Gadget-User,UserCSP-Gateway-Specific-Config: PT-User-Name=Administrator,PT-User-ID=1,PT-Stylesheet-URI=http://KARMA/imageserver/plumtree/common/public/css/mainstyle-en.css,PT-Hostpage-URI=http%u003A%u002F%u002Fkarma%u003A8080%u002Fportal%u002Fserver%u002Ept%u002Fgateway%u002FPTARGS%u005F0%u005F1%u005F4685%u005F0%u005F0%u005F43%u002Fhttp%u003A%u002F%u002Fericx%u002Dw2ks%u002Eplumtree%u002Ecom%u003A3380%u002Fwsrpconsumer%u002Fpt%u005Faction%u003Fwsrp%u002DinteractionState%u003DmultipartUpload,PT-Community-ID=0,PT-Gadget-ID=4685,PT-Gateway-Version=2.5,PT-Content-Mode=1,PT-Return-URI=http://KARMA:8080/portal/server.pt/gateway/PTARGS_16_0_0_0_0_43/a?b=c&,PT-Time-Zone=,PT-Imageserver-URI=http://KARMA/imageserver/,PT-User-Charset=UTF-8,PT-Page-ID=,PT-Community-ACL=,PT-SOAP-API-URI=http://karma:8080/ptapi/services/QueryInterfaceAPI,PT-Portal-UUID={a98ff56e-c5ce-4efe-bb1d-86dc4b129d80},PT-Class-ID=43CSP-Protocol-Version: 1.2CSP-Aggregation-Mode: SinglePragma: no-cacheCache-Control: no-cacheAccept-Encoding: gzipConnection: Keep-AliveContent-Length: 000004303-----------------------------7d32712f11028aContent-Disposition: form-data; name="pt__4685{actionForm.text1}"test1-----------------------------7d32712f11028aContent-Disposition: form-data; name="pt__4685{actionForm.file1}"; filename="C:\Documents and Settings\ericx\Desktop\test1.txt"Content-Type: text/plainThis is just a test.-----------------------------7d32712f11028aContent-Disposition: form-data; name="pt__4685{actionForm.text2}"test2-----------------------------7d32712f11028aContent-Disposition: form-data; name="pt__4685{actionForm.file2}"; filename="C:\Documents and Settings\ericx\Desktop\trace.txt"Content-Type: text/plain


# consumer generated wsrp request


POST /producer/producer HTTP/1.0Content-Type: text/xml; charset=utf-8Accept: application/soap+xml, application/dime, multipart/related, text/*User-Agent: Axis/1.1Host: wsrp.avitek.comCache-Control: no-cachePragma: no-cacheSOAPAction: "urn:oasis:names:tc:wsrp:v1:performBlockingInteraction"Content-Length: 3016Cookie: JSESSIONID=1eUzly91gqPLaOjH4SlG9pvH8ReeretqYIYApPHmjaOMCTyESv5c!1079735209<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
 <soapenv:Body>
  <performBlockingInteraction xmlns="urn:oasis:names:tc:wsrp:v1:types">
   <registrationContext xsi:nil="true"/>
   <portletContext>
    <portletHandle>multipartRequest1</portletHandle>
   </portletContext>
   <runtimeContext>
    <userAuthentication>wsrp:password</userAuthentication>
    <portletInstanceKey>pt__4685</portletInstanceKey>
    <namespacePrefix>pt__4685</namespacePrefix>
    <sessionID>1eLh01hgBBtpbGgQA1sI52Uh3Omy62Jk9oU1fj0j6eKQZ4Ak7G6z!1079735209</sessionID>
   </runtimeContext>
   <userContext>
    <userContextKey>Administrator</userContextKey>
   </userContext>
   <markupParams>
    <secureClientCommunication>false</secureClientCommunication>
    <locales>en-US</locales>
    <mimeTypes>text/html</mimeTypes>
    <mode>wsrp:view</mode>
    <windowState>wsrp:normal</windowState>
    <clientData>
     <userAgent>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.0.3705)</userAgent>
    </clientData>
    <markupCharacterSets>UTF-8</markupCharacterSets>
    <validNewModes>wsrp:view</validNewModes>
    <validNewWindowStates>wsrp:normal</validNewWindowStates>
   </markupParams>
   <interactionParams>
    <portletStateChange>readWrite</portletStateChange>
    <interactionState>multipartUpload</interactionState>
    <formParameters name="wsrp-interactionState">
     <value>multipartUpload</value>
    </formParameters>
    <formParameters name="wsrp-urlType">
     <value>blockingAction</value>
    </formParameters>
    <uploadContexts>
     <mimeType>text/plain</mimeType>
     <uploadData xsi:nil="true"/>
     <mimeAttributes name="pt__4685{actionForm.text1}">
      <value>test1</value>
     </mimeAttributes>
    </uploadContexts>
    <uploadContexts>
     <mimeType>text/plain</mimeType>
     <uploadData>VzBKQVpESmxOVFZsDQo=</uploadData>
     <mimeAttributes name="name">
      <value>pt__4685{actionForm.file1}</value>
     </mimeAttributes>
     <mimeAttributes name="filename">
      <value>C:\Documents and Settings\ericx\Desktop\test1.txt</value>
     </mimeAttributes>
    </uploadContexts>
    <uploadContexts>
     <mimeType>text/plain</mimeType>
     <uploadData xsi:nil="true"/>
     <mimeAttributes name="pt__4685{actionForm.text2}">
      <value>test2</value>
     </mimeAttributes>
    </uploadContexts>
    <uploadContexts>
     <mimeType>text/plain</mimeType>
     <uploadData>VzBKQU1XUXdPR1V5TVZ0Q1FERmtNRGhsTWpGYlFrQXhaREE0WlRJeFcwSkFNV1F3T0dVeU1RPT0NCg==</uploadData>
     <mimeAttributes name="name">
      <value>pt__4685{actionForm.file2}</value>
     </mimeAttributes>
     <mimeAttributes name="filename">
      <value>C:\Documents and Settings\ericx\Desktop\trace.txt</value>
     </mimeAttributes>
    </uploadContexts>
   </interactionParams>
  </performBlockingInteraction>
 </soapenv:Body>
</soapenv:Envelope>


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]