| Author | 
		  Message
		 | 
		
		  | stevarg | 
		  
		    
			  
				 Posted: Wed Mar 27, 2013 7:40 am    Post subject: Web Service Integration for P8(SOAP over HTTP) | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 20 Nov 2012 Posts: 24
  
  | 
		  
		    
			  
				Hi,
 
 
I have a requirement where in I need to integrate to P8 Document System using Web Services to upload/download /update metadata for documents.
 
 
P8 is exposing web service to upload document. 
 
The operation request message has a field called <content> which is of type xsd:base64binary to populate the content of the file to be uploaded from the client system.
 
 
What could be the maximum size of the content in xsd:base64binary format that can be sent as a SOAP message over HTTP.
 
 
I have tested for messages coming to 6MB approx.
 
 
Also what could be a better design for the above scenario. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | lancelotlinc | 
		  
		    
			  
				 Posted: Wed Mar 27, 2013 7:46 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA 
  | 
		  
		    
			  
				No practical limit, just limited by your system resources.
 
 
It seems your WSDL dictates your design since the WSDL is the contract between producer and consumer. If we came up with a better design, how would you implement the better design without changing the WSDL contract? _________________ http://leanpub.com/IIB_Tips_and_Tricks
 
Save $20: Coupon Code: MQSERIES_READER | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | stevarg | 
		  
		    
			  
				 Posted: Wed Mar 27, 2013 8:22 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 20 Nov 2012 Posts: 24
  
  | 
		  
		    
			  
				| What could be a better design if I am ready to change to contract. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mqjeff | 
		  
		    
			  
				 Posted: Wed Mar 27, 2013 8:25 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Master
 
 Joined: 25 Jun 2008 Posts: 17447
  
  | 
		  
		    
			  
				
   
	| stevarg wrote: | 
   
  
	| What could be a better design if I am ready to change to contract. | 
   
 
 
How can you change the contract without changing the P8 Document System, whatever that is....
 
? | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | stevarg | 
		  
		    
			  
				 Posted: Wed Mar 27, 2013 8:27 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 20 Nov 2012 Posts: 24
  
  | 
		  
		    
			  
				Is it perfectly OK to use messages that come upto 25- 30MB over HTTP.
 
I could finish the broker transaction by making an Asynchronous request.
 
 
So looking for a better design technique. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | stevarg | 
		  
		    
			  
				 Posted: Wed Mar 27, 2013 8:30 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 20 Nov 2012 Posts: 24
  
  | 
		  
		    
			  
				@mqjeff
 
 
I was thinking to implement it over queues if the message size could be huge and an issue for HTTP.
 
I can speak to the P8 implementation team on getting messages over a queue and not HTTP. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |